fixed trigger cell
This commit is contained in:
parent
b9f7e9f3c3
commit
65b28ffc62
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user