I have a problem with a game after you load it's save file.
Currently my enemies are set to destroy when their health reaches 0, and drop a random item. Also, all of the enemies are preloaded into the layout.
However, if you kill an enemy in the layout (or all the enemies for that matter) save your game, and then load it again, when the layout loads the save file - all of the enemies then die again, and drop another random item.
I'm assuming it's because the save file loads the layout, says "the enemies health is supposed to be 0" which then causes them to die, and respawn the item.
Is there anyway around this?
Thanks!