mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-10-23 11:23:04 +02:00
Fixed Teleport invisible user glitch. Credits to Dome and Necmi.
This commit is contained in:
parent
8c3745601e
commit
bf07e19864
@ -730,6 +730,7 @@ public class RoomUnit {
|
||||
}
|
||||
|
||||
public void addOverrideTile(RoomTile tile) {
|
||||
if (!this.canOverrideTile(tile)) { return; } // Test if the Tile is overridable
|
||||
int tileIndex = (room.getLayout().getMapSizeY() * tile.y) + tile.x + 1;
|
||||
if (!this.overridableTiles.contains(tileIndex)) {
|
||||
this.overridableTiles.add(tileIndex);
|
||||
|
Loading…
Reference in New Issue
Block a user