small client bug fix
This commit is contained in:
parent
536c77f760
commit
938825f27b
1 changed files with 2 additions and 0 deletions
|
@ -204,6 +204,8 @@ PendingCommand *Client::cmd(const QString &s)
|
|||
|
||||
void Client::connectToServer(const QString &hostname, unsigned int port, const QString &_playerName, const QString &_password)
|
||||
{
|
||||
disconnectFromServer();
|
||||
|
||||
playerName = _playerName;
|
||||
password = _password;
|
||||
socket->connectToHost(hostname, port);
|
||||
|
|
Loading…
Reference in a new issue