mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-13 13:21:31 +00:00
This should be set for server too!!
This commit is contained in:
parent
51dce9707f
commit
17318ceec7
1 changed files with 4 additions and 4 deletions
|
@ -4321,13 +4321,13 @@ static void HandlePacketFromAwayNode(SINT8 node)
|
|||
for (j = 0; j < MAXPLAYERS; j++)
|
||||
adminplayers[j] = netbuffer->u.servercfg.adminplayers[j];
|
||||
memcpy(server_context, netbuffer->u.servercfg.server_context, 8);
|
||||
}
|
||||
|
||||
#ifdef HAVE_DISCORDRPC
|
||||
discordInfo.maxPlayers = netbuffer->u.servercfg.maxplayer;
|
||||
discordInfo.joinsAllowed = netbuffer->u.servercfg.allownewplayer;
|
||||
discordInfo.everyoneCanInvite = netbuffer->u.servercfg.discordinvites;
|
||||
discordInfo.maxPlayers = netbuffer->u.servercfg.maxplayer;
|
||||
discordInfo.joinsAllowed = netbuffer->u.servercfg.allownewplayer;
|
||||
discordInfo.everyoneCanInvite = netbuffer->u.servercfg.discordinvites;
|
||||
#endif
|
||||
}
|
||||
|
||||
nodeingame[(UINT8)servernode] = true;
|
||||
serverplayer = netbuffer->u.servercfg.serverplayer;
|
||||
|
|
Loading…
Reference in a new issue