Got creep.moveTo() -> -11 ERR_TIRED after changing the room



  • Hello.

    I have a problem with returning creep into base room. Look at follow code:

    if(creep.room.name != home) {
    creep.moveTo(creep.pos.findClosestByPath(creep.room.findExitTo(home)));
    } else {
    creep.moveTo(Game.spawns.Spawn1);
    }

    When creep return in home room it can move, got creep.moveTo() -> -11 ERR_TIRED

    And creep returns to previous room.


  • Dev Team

    This issue must be fixed now.