mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 04:53:27 +02:00
lua console and some changes
This commit is contained in:
@@ -31,8 +31,8 @@ function EnterGame_connectToLoginServer()
|
||||
end
|
||||
|
||||
local enterGameWindow = rootWidget:getChild("enterGameWindow")
|
||||
local account = enterGameWindow:getChild("accountNameLineEdit").text
|
||||
local password = enterGameWindow:getChild("accountPasswordLineEdit").text
|
||||
local account = enterGameWindow:getChild("accountNameLineEdit"):getText()
|
||||
local password = enterGameWindow:getChild("accountPasswordLineEdit"):getText()
|
||||
protocolLogin:login(account, password)
|
||||
|
||||
enterGameWindow:destroy()
|
||||
|
Reference in New Issue
Block a user