mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 20:14:54 +02:00
Platform fixes and rework ping
This commit is contained in:
@@ -145,10 +145,10 @@ function EnterGame.firstShow()
|
||||
local host = g_settings.get('host')
|
||||
local autologin = g_settings.getBoolean('autologin')
|
||||
if #host > 0 and #password > 0 and #account > 0 and autologin then
|
||||
connect(g_app, { onRun = function()
|
||||
addEvent(function()
|
||||
if not g_settings.getBoolean('autologin') then return end
|
||||
EnterGame.doLogin()
|
||||
end})
|
||||
end)
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user