Creep.spawning == false and Creep.ticksToLive == undefined on private server



  • I have been looking for a bug in my code for the last week that would sometimes spawn (n+1) the number of creeps needed for a process. I finally found this thread from a year ago, which never got any response, and found this to be the source of my problems. I added an edge case in my code to compensate for this, but this was a really difficult bug to track down and I thought the issue should deserve attention again.