mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 15:36:27 +01:00
Changes to RoomLayout, makes more sense.
This commit is contained in:
parent
357f735d5a
commit
1ea86cb528
@ -318,8 +318,8 @@ public class RoomLayout {
|
||||
}
|
||||
}
|
||||
|
||||
if (!this.room.isAllowWalkthrough() && !isWalktroughRetry) {
|
||||
return this.findPath(oldTile, newTile, goalLocation, roomUnit, false);
|
||||
if (this.room.isAllowWalkthrough() && isWalktroughRetry) {
|
||||
return this.findPath(oldTile, newTile, goalLocation, roomUnit, true);
|
||||
}
|
||||
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user