Skip to content

Commit 4b3d787

Browse files
committed
Fix.
1 parent e7efcb4 commit 4b3d787

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

LuaMenu/widgets/chobby/components/battle/battle_list_window.lua

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,8 +451,14 @@ function BattleListWindow:MakeJoinWatchOptionPopup(parentButton, battleID, battl
451451
elseif selectedName == "Watch Battle" then
452452
self:TryToWatchBattle(battleID, battle)
453453
end
454+
obj:Dispose()
454455
end
455-
}
456+
},
457+
OnClose = {
458+
function (obj)
459+
obj:Dispose()
460+
end
461+
},
456462
}
457463
optionMenu:MouseDown(mx, my, mouseButton)
458464
screen0:FocusControl(optionMenu)

0 commit comments

Comments
 (0)