fix assert error insertion on windows

This commit is contained in:
2022-06-20 00:55:50 +00:00
parent 1353b47b6c
commit b2a5d36075
3 changed files with 7 additions and 3 deletions

View File

@@ -50,6 +50,9 @@
(method &override :Void update [:Float elapsed]
(super.update elapsed)
(when FlxG.keys.justPressed.ESCAPE
(Sys.exit 0))
// Press ENTER to type a command to run
(when (and !textInput FlxG.keys.justPressed.ENTER)
(typeCommand))