Merge branch 'Snaiker/Arcturus-Community-patch-fix-issue-934' into dev

This commit is contained in:
Remco 2021-02-07 23:32:23 +01:00
commit d256e65343

View File

@ -1514,6 +1514,11 @@ public class Room implements Comparable<Room>, ISerialize, Runnable {
if (unit.hasStatus(RoomUnitStatus.SIT)) {
unit.sitUpdate = true;
}
unit.setPreviousLocation(unit.getPreviousLocation());
unit.setPreviousLocationZ(unit.getPreviousLocation().getStackHeight());
unit.setCurrentLocation(this.getLayout().getTile(tile.x, tile.y));
unit.setZ(unit.getCurrentLocation().getStackHeight());
}
}