Problem with updating flags in rooms with no vision
-
Cross-posting this from PTR bugs as this also seems to be in production. Duplicate topic here: http://screeps.com/forum/topic/856/Problems-with-flags-in-rooms-with-no-vision
I noticed today when placing flags and moving them via code that flags placed in a room with vision will be deleted upon calling flag.setPosition() to move them to a room where you do not have vision, but the status code returned from the function call is OK. Similarly, placing a flag in a room without vision via the UI and having scripts update it will return the error code OK and the flag will not change color.
-