mirror of
https://github.com/paradizelost/screeps.git
synced 2024-11-25 02:14:44 -06:00
fix bug
This commit is contained in:
parent
aaa8c26d65
commit
02b84409d9
@ -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})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user