fix messagebox and rename some stuff

This commit is contained in:
Eduardo Bart
2012-02-08 00:11:57 -02:00
parent 619f751371
commit 1013ae279b
11 changed files with 39 additions and 26 deletions

View File

@@ -8,7 +8,7 @@ local function onGameKeyPress(self, keyCode, keyboardModifiers)
CharacterList.show()
return true
elseif keyCode == KeyQ then
Game.logout(false)
Game.safeLogout()
return true
end
end
@@ -101,7 +101,7 @@ end
local function onApplicationClose()
if Game.isOnline() then
Game.logout(true)
Game.forceLogout()
else
exit()
end