Bug in rated survival



  • After placing my spawn in rated survival, my bot started to panic.

    I've done some research and found that the bot found 2 spawns, while only 1 is visible (ironically, the visible spawn is called "Spawn2" by default and doesn't allow me to create "Spawn1").

    The behavior of my bot is to find for sources for each of the spawns, and so it does for Spawn1, but my bot can't access the room of Spawn1. This is giving errors.

    Code to reproduce (works in simulation survival though, but not when scores are recorded):

    Game.spawns.Spawn1.pos.findClosest(FIND_SOURCES);
    

    Thanks in advance for taking time to read this post.


  • Dev Team

    Thank you for reporting. This bug has been just fixed.



  • Thanks, I can confirm its fixed.