NAT flixel close on delete
This commit is contained in:
@@ -77,13 +77,10 @@
|
|||||||
// This part is hacky...
|
// This part is hacky...
|
||||||
(set lastUI textInputLabel)
|
(set lastUI textInputLabel)
|
||||||
(hideUI textInputLabel))
|
(hideUI textInputLabel))
|
||||||
(~sh.currentMap
|
(sh.currentMap
|
||||||
(sh.cancel))
|
(sh.cancel))))
|
||||||
(confirmQuit
|
(when FlxG.keys.justPressed.DELETE
|
||||||
(Sys.exit 0))
|
(Sys.exit 0))
|
||||||
(true
|
|
||||||
(displayMessage "Really quit?")
|
|
||||||
(set confirmQuit true))))
|
|
||||||
|
|
||||||
// Press ENTER to type a command to run
|
// Press ENTER to type a command to run
|
||||||
(when (and !textInput FlxG.keys.justPressed.ENTER)
|
(when (and !textInput FlxG.keys.justPressed.ENTER)
|
||||||
|
Reference in New Issue
Block a user