Fix #576, PopupMenus close when leaving the game

This commit is contained in:
TheSumm
2015-04-19 13:56:03 +02:00
parent ab5bed456b
commit 84f6cdec86
6 changed files with 25 additions and 1 deletions

View File

@@ -442,7 +442,10 @@ end
function createThingMenu(menuPosition, lookThing, useThing, creatureThing)
if not g_game.isOnline() then return end
local menu = g_ui.createWidget('PopupMenu')
menu:setGameMenu(true)
local classic = modules.client_options.getOption('classicControl')
local shortcut = nil