RoomPosition.CreateContructionSite() Returns OK for STRUCTURE_CONTAINER in room resereved by invaders
-
Description: Calling CreateConstructionSite(STRUCTURE_CONTAINER) (either the Room or RoomPosition version) where the position is in a room reserved by invaders (likely anyone but yourself) returns OK even though the call will not succed.
Reproduction: Call CreateConstructionSite(STRUCTURE_CONTAINER) on a room you can se but thats reserved by someone else.
Expected behavior: For the function to return one of the following error codes:
- ERR_INVALID_ARGS
- ERR_INVALID_TARGET
- ERR_RCL_NOT_ENOUGH
- ERR_NOT_OWNER
Or for the constructionsite to be created anyways
-
@fiskmans Thank you for the report, we'll take a look