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() {
WindowOfFreeMove.setCanPersonMove(false);
if (message != null)
readDialogFile(message);
}

View File

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