mirror of
https://github.com/edubart/otclient.git
synced 2025-10-13 19:14:56 +02:00
a lot of changes in modules
This commit is contained in:
@@ -90,13 +90,13 @@ end
|
||||
function Game.onLoginError(message)
|
||||
CharacterList.destroyLoadBox()
|
||||
local errorBox = displayErrorBox("Login Error", "Login error: " .. message)
|
||||
errorBox.onOk = CharacterList.show
|
||||
connect(errorBox, { onOk = CharacterList.show })
|
||||
end
|
||||
|
||||
function Game.onConnectionError(message)
|
||||
CharacterList.destroyLoadBox()
|
||||
local errorBox = displayErrorBox("Login Error", "Connection error: " .. message)
|
||||
errorBox.onOk = CharacterList.show
|
||||
connect(errorBox, { onOk = CharacterList.show })
|
||||
end
|
||||
|
||||
local function onApplicationClose()
|
||||
|
@@ -30,5 +30,4 @@ UIGame
|
||||
id: mouseGrabber
|
||||
focusable: false
|
||||
visible: false
|
||||
phantom: true
|
||||
|
||||
|
Reference in New Issue
Block a user