fix puzzle pack choice bug from first playtest

This commit is contained in:
2022-08-31 21:24:48 +00:00
parent e9e74b4db6
commit b1c54fad14
2 changed files with 18 additions and 0 deletions

View File

@@ -724,6 +724,7 @@
(prop &mut :FlxGroup nextPuzzleChoiceGroup null)
(method :Void startPuzzlePackChoice [nextStartingPoints]
(when rewardSprites (rewardSprites.kill))
(when entryWindow (entryWindow.hide))
(set puzzlePackChoiceWindow (SimpleWindow.promptForChoice "Choose a puzzle pack:"
(PuzzlePack.availablePacks model)
->[:PuzzlePack pack] (ifLet [(Some np) pack.nextPuzzle]