diff options
Diffstat (limited to 'src/main.js')
| -rw-r--r-- | src/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.js b/src/main.js index 7a3f1be..1f01098 100644 --- a/src/main.js +++ b/src/main.js @@ -13,7 +13,7 @@ module.exports.loop = () => { for (const name in Game.creeps) { const creep = Game.creeps[name]; const job = jobs[creep.memory.job]; - Memory.counts[job]++; + Memory.counts[creep.memory.job]++; if (job) { job.run(creep); } else { |
