mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 12:04:55 +02:00
Fix opened channels saving
This commit is contained in:
@@ -437,7 +437,7 @@ void Game::loginWorld(const std::string& account, const std::string& password, c
|
||||
resetGameStates();
|
||||
|
||||
m_localPlayer = LocalPlayerPtr(new LocalPlayer);
|
||||
m_localPlayer->setName(m_characterName);
|
||||
m_localPlayer->setName(characterName);
|
||||
|
||||
m_protocolGame = ProtocolGamePtr(new ProtocolGame);
|
||||
m_protocolGame->login(account, password, worldHost, (uint16)worldPort, characterName);
|
||||
|
Reference in New Issue
Block a user