changed git root

This commit is contained in:
Gebruiker
2022-10-23 01:23:27 +02:00
parent ef9159260b
commit 90448c79e4
12 changed files with 5 additions and 0 deletions

View File

@@ -1,21 +0,0 @@
module.exports = {
// Gets called when recompiling and when Restart command is called.
start: function () {
for (const creep_name in Game.creeps) {
const creep = Game.creeps[creep_name];
creep.init();
}
},
// Gets called every tick.
update: function () {
for (const creep_name in Memory.creeps) {
const creep = Game.creeps[creep_name];
if (creep == undefined) {
delete Memory.creeps[creep_name];
return;
}
creep.tick();
}
}
}