Skip to content

Commit

Permalink
Fix serialization issue on dev
Browse files Browse the repository at this point in the history
  • Loading branch information
SirLynix committed Oct 26, 2024
1 parent dd516ee commit b24e155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Game/States/ConnectionState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ namespace tsom

std::size_t peerId = reactor->ConnectTo(serverAddress);
m_serverSession.emplace(*reactor, peerId, serverAddress);
m_serverSession->SetProtocolVersion(GameVersion);
m_serverSession->SetProtocolVersion(IsDevVersion() ? Nz::MaxValue() : GameVersion);

ClientSessionHandler& sessionHandler = m_serverSession->SetupHandler<ClientSessionHandler>(*stateData.app, *stateData.world, *stateData.blockLibrary);
ConnectSignal(sessionHandler.OnAuthResponse, [this](const Packets::AuthResponse& authResponse)
Expand Down

0 comments on commit b24e155

Please sign in to comment.