fixed trigger cell

This commit is contained in:
musilto9 2020-03-24 13:09:52 +01:00
parent b9f7e9f3c3
commit 65b28ffc62
2 changed files with 1 additions and 2 deletions

View File

@ -25,7 +25,6 @@ public class InteractionCell extends Cell {
} }
public void startEvent() { public void startEvent() {
WindowOfFreeMove.setCanPersonMove(false);
if (message != null) if (message != null)
readDialogFile(message); readDialogFile(message);
} }

View File

@ -127,8 +127,8 @@ public class Person extends Cell {
WindowOfFreeMove.setCanPersonMove(false); WindowOfFreeMove.setCanPersonMove(false);
if (!isMoving) { if (!isMoving) {
isInEvent = true; isInEvent = true;
WindowOfFreeMove.setNextMove(WindowOfFreeMove.KEY_EVENT);
map.findTriggerByXY(x,y).startEvent(); map.findTriggerByXY(x,y).startEvent();
WindowOfFreeMove.setNextMove(WindowOfFreeMove.KEY_EVENT);
} }
} }
} }