NAT flixel close on delete

This commit is contained in:
2022-09-28 23:22:57 +00:00
parent 65dc9461aa
commit c1ca1d37ed

View File

@@ -77,13 +77,10 @@
// This part is hacky...
(set lastUI textInputLabel)
(hideUI textInputLabel))
(~sh.currentMap
(sh.cancel))
(confirmQuit
(Sys.exit 0))
(true
(displayMessage "Really quit?")
(set confirmQuit true))))
(sh.currentMap
(sh.cancel))))
(when FlxG.keys.justPressed.DELETE
(Sys.exit 0))
// Press ENTER to type a command to run
(when (and !textInput FlxG.keys.justPressed.ENTER)