mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Implemented simple versioning system for multiplayer
This commit is contained in:
@@ -43,6 +43,7 @@ void ApplyOnLobbyHandlerNetPackVisitor::visitLobbyClientConnected(LobbyClientCon
|
||||
// Check if it's LobbyClientConnected for our client
|
||||
if(pack.uuid == handler.logicConnection->uuid)
|
||||
{
|
||||
handler.logicConnection->setSerializationVersion(pack.version);
|
||||
handler.logicConnection->connectionID = pack.clientId;
|
||||
if(handler.mapToStart)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user