Skip to content

Commit 3f59297

Browse files
committed
fix(client-api): reset is lobby connected
1 parent 9bca370 commit 3f59297

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libs/game/src/api/client/client.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ bool Client::JoinRoom(const payload::JoinRoom &payload) {
109109
if (!sendSuccess)
110110
return false;
111111

112+
this->isLobbyConnected_ = false;
113+
112114
auto waitSuccess =
113115
WaitForMessage(MasterToClientMsgType::kMsgTypeMTCInfoRoom, &Client::HandleJoinLobbyInfos);
114116

0 commit comments

Comments
 (0)