Add error code to onError protocol event

This commit is contained in:
Eduardo Bart
2012-07-09 19:45:34 -03:00
parent 59f75d996e
commit e7691b873b
7 changed files with 30 additions and 22 deletions

View File

@@ -123,7 +123,7 @@ function onGameLoginError(message)
end
end
function onGameConnectionError(message)
function onGameConnectionError(code, message)
CharacterList.destroyLoadBox()
errorBox = displayErrorBox(tr("Login Error"), message)
errorBox.onOk = function()