CClient no longer inherits from CGameInfoCallback

This commit is contained in:
Ivan Savenko committed 2025-05-23 14:17:43 +03:00
1 parent fa6bf02b6e
commit ff0f5290f7
8 files changed
+95 -87

No files matched your search

+1 -1
View File
@@ -148,7 +148,7 @@ void ApplyOnLobbyHandlerNetPackVisitor::visitLobbyPrepareStartGame(LobbyPrepareS
{
handler.client = std::make_unique<CClient>();
handler.logicConnection->enterLobbyConnectionMode();
handler.logicConnection->setCallback(handler.client.get());
handler.logicConnection->setCallback(&handler.client->gameInfo());
}
void ApplyOnLobbyHandlerNetPackVisitor::visitLobbyStartGame(LobbyStartGame & pack)