lookFor(LOOK_TERRAIN) returns a string, not an array.
perennialinnocence opened this issue · 2 comments
perennialinnocence commented
I'm honestly not sure how this can be handled...
valerian commented
you're right and that's weird, since it returns an array for Room.lookForAt(LOOK_TERRAIN, position)
and RoomPosition.lookFor(LOOK_STRUCTURE)
, I think you should report it to Screeps instead
valerian commented
this has been fixed in Screeps now, so there is no more issue.