Minor fix to forceExit function

This commit is contained in:
BeniS 2012-08-10 11:21:14 +12:00
parent e27423660c
commit 96af3d3fcc
1 changed files with 2 additions and 5 deletions

View File

@ -114,12 +114,9 @@ function hide()
end end
function forceExit() function forceExit()
if g_game.isOnline() then
g_game.forceLogout()
scheduleEvent(exit, 10) scheduleEvent(exit, 10)
return true return true
end end
end
function tryExit() function tryExit()
if exitWindow then if exitWindow then