Fix Issue #575 related to pathfinder changes

This commit is contained in:
Beny 2020-05-03 03:01:49 +02:00
parent f979901a6d
commit 755c589ba6

View File

@ -239,6 +239,7 @@ public class RoomUnit {
{
if (!room.tileWalkable(next)) {
this.room = room;
this.path.clear();
this.findPath();
if (this.path.isEmpty()) {