mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 23:26:51 +01:00
Fixes to horizontal scrollarea, improve charlist flexibility
This commit is contained in:
@@ -28,7 +28,7 @@ local function onMotd(protocol, motd)
|
||||
motdButton:show()
|
||||
end
|
||||
|
||||
local function onCharacterList(protocol, characters, account)
|
||||
local function onCharacterList(protocol, characters, account, otui)
|
||||
if enterGame:getChildById('rememberPasswordBox'):isChecked() then
|
||||
g_settings.set('account', g_crypt.encrypt(G.account))
|
||||
g_settings.set('password', g_crypt.encrypt(G.password))
|
||||
@@ -40,7 +40,7 @@ local function onCharacterList(protocol, characters, account)
|
||||
loadBox:destroy()
|
||||
loadBox = nil
|
||||
|
||||
CharacterList.create(characters, account)
|
||||
CharacterList.create(characters, account, otui)
|
||||
CharacterList.show()
|
||||
|
||||
local lastMotdNumber = g_settings.getNumber("motd")
|
||||
|
||||
Reference in New Issue
Block a user