From 02b84409d97484eb4c7b0a1e001bc859146cdeaa Mon Sep 17 00:00:00 2001 From: dan Date: Tue, 10 Nov 2020 01:33:03 -0600 Subject: [PATCH] fix bug --- role.phase1worker.js | 1 - 1 file changed, 1 deletion(-) diff --git a/role.phase1worker.js b/role.phase1worker.js index fb0ded3..53a8103 100644 --- a/role.phase1worker.js +++ b/role.phase1worker.js @@ -63,7 +63,6 @@ let Phase1Worker = { if(creep.upgradeController(creep.room.controller) == ERR_NOT_IN_RANGE) { creep.say('MTRC') if (road.length > 0) {creep.repair(road);} - creep.memory.assignedroom=creep.room.name creep.moveTo(Game.rooms[creep.memory.assignedroom].controller,{ignoreCreeps:ignorecreeps}) } }