Minor fix to forceExit function
This commit is contained in:
parent
e27423660c
commit
96af3d3fcc
|
@ -114,12 +114,9 @@ function hide()
|
|||
end
|
||||
|
||||
function forceExit()
|
||||
if g_game.isOnline() then
|
||||
g_game.forceLogout()
|
||||
scheduleEvent(exit, 10)
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
function tryExit()
|
||||
if exitWindow then
|
||||
|
|
Loading…
Reference in New Issue