mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 03:54:54 +02:00
Format name as a feature, do not connect if dont have dat/spr
This commit is contained in:
@@ -169,7 +169,14 @@ function EnterGame.doLogin()
|
||||
|
||||
g_game.chooseRsa(G.host)
|
||||
g_game.setClientVersion(clientVersion)
|
||||
protocolLogin:login(G.host, G.port, G.account, G.password)
|
||||
|
||||
if modules.game_tibiafiles.isLoaded() then
|
||||
protocolLogin:login(G.host, G.port, G.account, G.password)
|
||||
else
|
||||
loadBox:destroy()
|
||||
loadBox = nil
|
||||
EnterGame.show()
|
||||
end
|
||||
end
|
||||
|
||||
function EnterGame.displayMotd()
|
||||
|
Reference in New Issue
Block a user