[0.12.34] Biters on player force disappear
Posted: Sun May 29, 2016 3:52 am
When spawning small-biters on the player's force into two closed areas without valid paths to the player, then attacking one group, the other group often despawns. The issue does not occur if the small-biters are spawned on the "neutral" force.
Please see this video for a demonstration: https://www.youtube.com/watch?v=OlpU3Z4ltj8
This is the code used to generate the small-biters:
/c local surface = game.local_player.surface; local pos = game.local_player.position; surface.create_entity({name="small-biter", force=game.forces.player, position={pos.x, pos.y+3}})
Please see this video for a demonstration: https://www.youtube.com/watch?v=OlpU3Z4ltj8
This is the code used to generate the small-biters:
/c local surface = game.local_player.surface; local pos = game.local_player.position; surface.create_entity({name="small-biter", force=game.forces.player, position={pos.x, pos.y+3}})