Also any new creep created will work but not the old creeps
Posts made by ShaunLeeks1
-
RE: Creeps not in Game.creeps
-
Creeps not in Game.creeps
I am running the following code but only one name is appearing in the console and It also happens to be the only creep that is doing something. I don't know why It all worked fine last night, but now it's all broken for some reason. Could the server maintenanceĀ have done it?
for(var name in Game.creeps) {
var creep = Game.creeps[name];
console.log('NameĀ : '+name);}