Fix Cerulean badge menu exit

The selected badge list stayed on the stack while its description opened. Cancelling the next list only closed that newer menu, leaving the NPC conversation open.
This commit is contained in:
johnjohto
2026-07-30 17:49:02 -04:00
parent 4c5f776128
commit 0a8bca1a6d
3 changed files with 65 additions and 0 deletions
@@ -42,6 +42,7 @@ local function middleAgedMan(game, ow, npc, done)
end
local menu = ListMenu.new(game, "", items, {
onChoose = function(item)
game.stack:pop()
push(game, t[BADGE_TEXT[item.value]], loop)
end,
onCancel = function()