Occasional turn loss fix.
Game.tick now creates a copy of entitites' list to iterate over since iterating over a table while modifying it is undefined.
tickLevel now adjusts indices accordingly when entity is added or removed.
Game.tick now creates a copy of entitites' list to iterate over since iterating over a table while modifying it is undefined.
tickLevel now adjusts indices accordingly when entity is added or removed.