mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 04:24:54 +02:00
Some minor fixes
* UISpinBox bug with minimum/maximum * Some fixes to UITable * Fixed force exit bug. * Added new next/previous ui buttons.
This commit is contained in:
@@ -113,7 +113,7 @@ function hide()
|
||||
Background.show()
|
||||
end
|
||||
|
||||
function exit()
|
||||
function forceExit()
|
||||
if g_game.isOnline() then
|
||||
g_game.forceLogout()
|
||||
scheduleEvent(exit, 10)
|
||||
@@ -131,7 +131,7 @@ function tryExit()
|
||||
local cancelButton = exitWindow:getChildById('buttonCancel')
|
||||
|
||||
local exitFunc = function()
|
||||
exit()
|
||||
forceExit()
|
||||
end
|
||||
local logoutFunc = function()
|
||||
logout()
|
||||
|
Reference in New Issue
Block a user