Commit c758fd0b authored by Human Gamer's avatar Human Gamer

Fixed Exporting Interiors with no Game Entities

parent 10737410
Pipeline #1740925 skipped
......@@ -246,16 +246,18 @@ public class InteriorResource
dos.writeInt(0);
}
dos.writeInt(2);
if (this.gameEntities.size() > 0)
{
dos.writeInt(2);
dos.writeInt(this.gameEntities.size());
for (int i = 0; i < this.gameEntities.size(); i++)
{
this.gameEntities.get(i).write(dos);
}
dos.writeInt(0);
} else {
dos.writeInt(0);
}
if (targetVersion == -1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment