diff options
Diffstat (limited to '')
-rw-r--r-- | source/cClientHandle.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/cClientHandle.cpp b/source/cClientHandle.cpp index 3d54dc4d9..fefdb8aec 100644 --- a/source/cClientHandle.cpp +++ b/source/cClientHandle.cpp @@ -1220,6 +1220,7 @@ void cClientHandle::Tick(float a_Dt) LoginResponse.m_ServerMode = m_Player->GetGameMode(); //set gamemode from player.
LoginResponse.m_MapSeed = 0;
LoginResponse.m_Dimension = 0;
+ LoginResponse.m_MaxPlayers = (unsigned char)cRoot::Get()->GetWorld()->GetMaxPlayers();
Send( LoginResponse );
// Send Weather if raining:
|