Merge branch 'revert-d256e653' into 'dev'

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

See merge request morningstar/Arcturus-Community!402
This commit is contained in:
Remco 2021-02-09 15:43:24 +00:00
commit 2806a37615

View File

@ -1514,11 +1514,6 @@ 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());
}
}