mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 07:20:50 +01:00
Added animation delay to WiredEffectTeleport
This commit is contained in:
parent
4981d967eb
commit
811041a211
@ -131,7 +131,7 @@ public class WiredEffectTeleport extends InteractionWiredEffect
|
|||||||
|
|
||||||
// makes a temporary effect
|
// makes a temporary effect
|
||||||
room.sendComposer(new RoomUserEffectComposer(roomUnit, 4).compose());
|
room.sendComposer(new RoomUserEffectComposer(roomUnit, 4).compose());
|
||||||
Emulator.getThreading().run(new SendRoomUnitEffectComposer(room, roomUnit), WiredHandler.TELEPORT_DELAY);
|
Emulator.getThreading().run(new SendRoomUnitEffectComposer(room, roomUnit), WiredHandler.TELEPORT_DELAY + 1000);
|
||||||
|
|
||||||
if (tile.state == RoomTileState.INVALID || tile.state == RoomTileState.BLOCKED) {
|
if (tile.state == RoomTileState.INVALID || tile.state == RoomTileState.BLOCKED) {
|
||||||
RoomTile alternativeTile = null;
|
RoomTile alternativeTile = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user