mirror of
https://github.com/paradizelost/screeps.git
synced 2025-08-26 14:06:03 +00:00
fix bug
This commit is contained in:
@@ -63,7 +63,6 @@ let Phase1Worker = {
|
|||||||
if(creep.upgradeController(creep.room.controller) == ERR_NOT_IN_RANGE) {
|
if(creep.upgradeController(creep.room.controller) == ERR_NOT_IN_RANGE) {
|
||||||
creep.say('MTRC')
|
creep.say('MTRC')
|
||||||
if (road.length > 0) {creep.repair(road);}
|
if (road.length > 0) {creep.repair(road);}
|
||||||
creep.memory.assignedroom=creep.room.name
|
|
||||||
creep.moveTo(Game.rooms[creep.memory.assignedroom].controller,{ignoreCreeps:ignorecreeps})
|
creep.moveTo(Game.rooms[creep.memory.assignedroom].controller,{ignoreCreeps:ignorecreeps})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user