default type to catch wierd undefined cases
All checks were successful
Screeps Publish / build-and-ship (push) Successful in 13s
All checks were successful
Screeps Publish / build-and-ship (push) Successful in 13s
This commit is contained in:
@@ -10,7 +10,7 @@ function spawnCreeper() {
|
||||
if (totalCreeps >= 8) return;
|
||||
let workload = [WORK, CARRY, MOVE];
|
||||
let name = "creep" + Game.time;
|
||||
let role = "";
|
||||
let role = "harvester";
|
||||
if (totalCreeps < 2) {
|
||||
role = "harvester";
|
||||
} else if (totalCreeps < 4) {
|
||||
|
||||
Reference in New Issue
Block a user