mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-27 19:50:51 +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++)
|
for (j = 0; j < MAXPLAYERS; j++)
|
||||||
adminplayers[j] = netbuffer->u.servercfg.adminplayers[j];
|
adminplayers[j] = netbuffer->u.servercfg.adminplayers[j];
|
||||||
memcpy(server_context, netbuffer->u.servercfg.server_context, 8);
|
memcpy(server_context, netbuffer->u.servercfg.server_context, 8);
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef HAVE_DISCORDRPC
|
#ifdef HAVE_DISCORDRPC
|
||||||
discordInfo.maxPlayers = netbuffer->u.servercfg.maxplayer;
|
discordInfo.maxPlayers = netbuffer->u.servercfg.maxplayer;
|
||||||
discordInfo.joinsAllowed = netbuffer->u.servercfg.allownewplayer;
|
discordInfo.joinsAllowed = netbuffer->u.servercfg.allownewplayer;
|
||||||
discordInfo.everyoneCanInvite = netbuffer->u.servercfg.discordinvites;
|
discordInfo.everyoneCanInvite = netbuffer->u.servercfg.discordinvites;
|
||||||
#endif
|
#endif
|
||||||
}
|
|
||||||
|
|
||||||
nodeingame[(UINT8)servernode] = true;
|
nodeingame[(UINT8)servernode] = true;
|
||||||
serverplayer = netbuffer->u.servercfg.serverplayer;
|
serverplayer = netbuffer->u.servercfg.serverplayer;
|
||||||
|
|
Loading…
Reference in a new issue