mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-10-02 11:50:30 +02:00
Fix Issue #575 related to pathfinder changes
This commit is contained in:
parent
f979901a6d
commit
755c589ba6
@ -239,6 +239,7 @@ public class RoomUnit {
|
|||||||
{
|
{
|
||||||
if (!room.tileWalkable(next)) {
|
if (!room.tileWalkable(next)) {
|
||||||
this.room = room;
|
this.room = room;
|
||||||
|
this.path.clear();
|
||||||
this.findPath();
|
this.findPath();
|
||||||
|
|
||||||
if (this.path.isEmpty()) {
|
if (this.path.isEmpty()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user