SHIFT in debug build to un-solve puzzle
This commit is contained in:
@@ -54,6 +54,11 @@
|
||||
(entryWindow.hide)
|
||||
(entryWindow.show))))
|
||||
|
||||
(#when debug
|
||||
(when FlxG.keys.justPressed.SHIFT
|
||||
(set save.data.storedPositions (new Map<Int,FlxPoint>))
|
||||
(save.flush)))
|
||||
|
||||
(when FlxG.keys.justPressed.DELETE
|
||||
(Sys.exit 0))
|
||||
|
||||
|
@@ -37,7 +37,7 @@
|
||||
(unless currentMap (tryCallOrThrow onBadKey "Tried to handle key $key without calling start() first" key null))
|
||||
(if (= cancelKey key)
|
||||
(cancel)
|
||||
(case ~(dictGet currentMap key)
|
||||
(case (dictGet currentMap key)
|
||||
((Final item)
|
||||
(tryCall onSelectItem item)
|
||||
(cancel))
|
||||
|
Reference in New Issue
Block a user