python-sc2 icon indicating copy to clipboard operation
python-sc2 copied to clipboard

on_unit_created is called repeatedly with identical unit information

Open ericbroda opened this issue 7 years ago • 2 comments
trafficstars

Later in the game after a number of units have been created and destroyed, the function "on_unit_created" gets called repeatedly with identical unit information( same type, same tag).

ericbroda avatar Nov 06 '18 22:11 ericbroda

i cant reproduce this, do you have any more information?

tweakimp avatar Dec 08 '18 08:12 tweakimp

I only find the same workers in again in a later on_unit_created call because they enter geysirs, "disappear" from the map and get created again once they leave the geysir. same for units that enter transport units.

tweakimp avatar Dec 08 '18 09:12 tweakimp