Updated to OTCv8 3.1 rev 222

This commit is contained in:
OTCv8 2022-06-06 18:53:56 +00:00
parent c70abbdfdd
commit 00ca45bd62
7 changed files with 2 additions and 2 deletions

View File

@ -201,7 +201,7 @@ function tryExit()
return true return true
end end
local exitFunc = function() g_game.safeLogout() forceExit() end local exitFunc = function() scheduleEvent(exit, 10) end
local logoutFunc = function() g_game.safeLogout() exitWindow:destroy() exitWindow = nil end local logoutFunc = function() g_game.safeLogout() exitWindow:destroy() exitWindow = nil end
local cancelFunc = function() exitWindow:destroy() exitWindow = nil end local cancelFunc = function() exitWindow:destroy() exitWindow = nil end

View File

@ -141,7 +141,7 @@ end
function setupTopBar() function setupTopBar()
local topPanel = modules.game_interface.getTopBar() local topPanel = modules.game_interface.getTopBar()
topBar = topBar or g_ui.loadUI('TopBar', topPanel) topBar = topBar or g_ui.loadUI('topbar', topPanel)
topBar = topBar or g_ui.createWidget('TopBar', topPanel) topBar = topBar or g_ui.createWidget('TopBar', topPanel)
manaBar = topBar.stats.mana manaBar = topBar.stats.mana

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.