mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +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) {
|
if (this.room.isAllowWalkthrough() && isWalktroughRetry) {
|
||||||
return this.findPath(oldTile, newTile, goalLocation, roomUnit, false);
|
return this.findPath(oldTile, newTile, goalLocation, roomUnit, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user