From c73c9d773ceb19d17e815375b334fc30d9aca8bb Mon Sep 17 00:00:00 2001 From: nordsoft Date: Sun, 24 Sep 2023 03:15:10 +0200 Subject: [PATCH] Fix issue with impossible room ready status --- launcher/lobby/lobby_moc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/launcher/lobby/lobby_moc.cpp b/launcher/lobby/lobby_moc.cpp index 3498a99fc..308148d3c 100644 --- a/launcher/lobby/lobby_moc.cpp +++ b/launcher/lobby/lobby_moc.cpp @@ -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];