Format name as a feature, do not connect if dont have dat/spr

This commit is contained in:
Henrique Santiago
2012-08-14 20:58:25 -03:00
parent 6fdf23e22f
commit e244e1975d
7 changed files with 32 additions and 16 deletions

View File

@@ -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()