Merge branch 'fix-dedicated-server' into 'master'

Fix dedicated server replicating local players

Closes #131

See merge request kart-krew-dev/ring-racers!22
This commit is contained in:
Eidolon 2025-09-17 13:22:34 -05:00
commit ab5d4f55b7

View file

@ -4303,7 +4303,11 @@ boolean SV_SpawnServer(void)
// strictly speaking, i'm not convinced the following is necessary
// but I'm not confident enough to remove it entirely in case it breaks something
{
// in a listen server, this sends the local player information to the server so
// that the client has players replicated on the server. in dedicated, there is
// no local player!
if (!dedicated) {
UINT8 *availabilitiesbuffer = R_GetSkinAvailabilities(false, -1);
SINT8 node = 0;
for (; node < MAXNETNODES; node++)