Improper Pathing Between Rooms with Vision
Issue summary
Creep was bouncing in between two rooms trying to path to an invader.
Description of issue:
The creep was broodling style creep trying to path to an invader in the room. This was in a remote mining room. There was a solid wall blocking one entrance to the room, but another entrance was open. The creep would enter the blocked area, repath to the open area and leave the room. It would then enter the room again in the blocked area and repeat. There was a claimer creep in the room the entire time so the room had vision.
Steps to reproduce:
Have a room with multiple entrances from a single adjacent room. Block one entrance off fully and leave the other open. Make the blocked entrance have a better path weight than the open entrance, but only when looking at the room layout and not the structures inside.
Error message:
No errors.
// Console output:
No console issues
// Offending line:
Suggested fix (optional):
If the room has vision use that to help calculate the proper path.
Other information:
‣ Version: Overmind v0.5.2 ‣ Checksum: 0x34e6838c39d ‣ Assimilated: No (clearance code: null) [WIP] ‣ Operating mode: automatic
The screenshot that is attached shows the offending room, this is on the screeps+ server. The empty space at 17/47 was covered by a wall. I placed a dismantle flag to have it tear down some walls and make a path.
