Closed Pontuzz closed 8 years ago
Hi, thanks for reporting!
Problem is that Memory.rooms[roomName]
is undefined
for some reason. A quick fix would be to edit
if(!Memory.rooms[roomName].clean){
into
if(Memory.rooms[roomName] && !Memory.rooms[roomName].clean){
but eventually we should understand how undefined room got into dtasks. Maybe you scouted a room and lost vision of that room before delayed task started to execute. Hard to say now, I haven't worked on screeps for a while.
Hey, first of all. I'm very new to js but trying.
running the scripts as is returns:
I can't really understand why it's not working. I