Reset spawn timer when using recycleCreep on a spawning creep.


  • Culture

    With the new demanding remote invader attacks I would like my room to react a bit faster with killing the invaders. If all my spawns are busy spawning and the creeps are unlucky, they will have to wait for an extra 150 ticks before rescue arrives.

    The StructureSpawn.recycleCreep command return OK when used on a spawning creep. The problem is that the spawn timer doesn't reset... it just kill the spawning creep and continue the timer.

    Proposal:
    Reset spawn timer when using StructureSpawn.recycleCreep on a spawning creep or add a new abort() function to StructureSpawn.