mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 20:14:54 +02:00
Change network errors message
This commit is contained in:
@@ -111,7 +111,8 @@ end
|
||||
|
||||
function onGameConnectionError(message, code)
|
||||
CharacterList.destroyLoadBox()
|
||||
errorBox = displayErrorBox(tr("Connection Error"), message)
|
||||
local text = tr('Your connection has been lost. (err: %d)', code)
|
||||
errorBox = displayErrorBox(tr("Connection Error"), text)
|
||||
errorBox.onOk = function()
|
||||
errorBox = nil
|
||||
CharacterList.showAgain()
|
||||
|
Reference in New Issue
Block a user