mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-31 12:22:36 +01:00
Fix issue #934
This commit is contained in:
parent
0fc9760894
commit
dc8c0e0bcb
@ -1506,6 +1506,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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user