mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
Minor fix to forceExit function
This commit is contained in:
@@ -114,11 +114,8 @@ function hide()
|
||||
end
|
||||
|
||||
function forceExit()
|
||||
if g_game.isOnline() then
|
||||
g_game.forceLogout()
|
||||
scheduleEvent(exit, 10)
|
||||
return true
|
||||
end
|
||||
scheduleEvent(exit, 10)
|
||||
return true
|
||||
end
|
||||
|
||||
function tryExit()
|
||||
|
Reference in New Issue
Block a user