chessmasterhong / WaterEmblem

https://chessmasterhong.bitbucket.io/projects/WaterEmblem/
118 stars 27 forks source link

Resuming a suspended game revives killed units (but will not partake in battle) #187

Closed chessmasterhong closed 9 years ago

chessmasterhong commented 9 years ago

After killing an enemy (or player) unit, suspending the game, and resuming the suspended game will bring the killed unit back to the last position in which it was killed. However, the killed unit cannot be targeted by the opposing force or perform their actions. Essentially, they were respawned but not put into the ig.game.units queue. This will lead to confusion as the player would have thought the unit was killed before the save and would no longer be certain if the unit is targetable or not.

The objective is to remove any killed units, both the instance of the unit entity and visually, upon resuming a suspended game.