Gabriel Genois 1 month ago
parent
commit
dfc0cc0b97
1 changed files with 0 additions and 9 deletions
  1. 0
    9
      bootstrap.js

+ 0
- 9
bootstrap.js View File

@@ -9,15 +9,6 @@ var bootstrap = {
9 9
         }
10 10
         Memory.engine.rooms = [];
11 11
         
12
-        if (Game.time % 20) {
13
-         for(var i in Memory.creeps) {
14
-              if(Game.creeps[i]) {
15
-                  Game.creeps[i].memory.savedSpot = null;
16
-                  Game.creeps[i].memory.sourceId = null;
17
-              }
18
-          } 
19
-        }
20
-        
21 12
         for(const i in Game.spawns) {
22 13
             let spawn = Game.spawns[i];
23 14
             let iRoomIndex = Engine.m['cUtility'].getRoomIndexFromName(spawn.room.name);

Loading…
Cancel
Save