[editor] custom map size fix

This commit is contained in:
2019-06-11 19:59:53 +03:00
parent a66b72ba22
commit 38e14c9269
7 changed files with 26 additions and 13 deletions

View File

@@ -34,6 +34,10 @@ class HumanControl extends Control {
Lib.current.stage.removeEventListener(KeyboardEvent.KEY_DOWN, onKeyDown);
Lib.current.stage.removeEventListener(KeyboardEvent.KEY_UP, onKeyUp);
moveQueue = [];
if (shotTimer != null) {
shotTimer.stop();
shotTimer = null;
}
}
private function onKeyDown(event:KeyboardEvent):Void {