I found here (http://screeps.wikia.com/wiki/GetObjectById) why it's like that:
It will only provide you the object if you have visibility in the room, otherwise, it will return null.
FunMan
@FunMan
1
Posts
741
Profile views
0
Followers
0
Following
Posts made by FunMan
-
RE: Game.getObjectById() returns null when passed the source.id of a source in an unclaimed room.