mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Merge pull request #2937 from Nordsoft91/lobby
[!] Fix issue with impossible room ready status
This commit is contained in:
commit
9042778bcb
@ -153,11 +153,11 @@ void Lobby::serverCommand(const ServerCommand & command) try
|
||||
case JOINED:
|
||||
case KICKED:
|
||||
protocolAssert(args.size() == 2);
|
||||
session = "";
|
||||
ui->chatWidget->setSession(session);
|
||||
if(args[1] == username)
|
||||
{
|
||||
hostModsMap.clear();
|
||||
session = "";
|
||||
ui->chatWidget->setSession(session);
|
||||
ui->buttonReady->setText("Ready");
|
||||
ui->optNewGame->setChecked(true);
|
||||
session = args[0];
|
||||
|
Loading…
Reference in New Issue
Block a user