mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39:21 +02:00
Minor fix to forceExit function
This commit is contained in:
parent
e27423660c
commit
96af3d3fcc
@ -114,11 +114,8 @@ function hide()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function forceExit()
|
function forceExit()
|
||||||
if g_game.isOnline() then
|
scheduleEvent(exit, 10)
|
||||||
g_game.forceLogout()
|
return true
|
||||||
scheduleEvent(exit, 10)
|
|
||||||
return true
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function tryExit()
|
function tryExit()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user