port: net: sync instant environmental death

This commit is contained in:
fgsfds committed 2023-12-28 12:45:18 +01:00
1 parent 928544ae5f
commit 7bee9cdcfc
1 file changed
+6
+6
View File
@@ -4919,6 +4919,12 @@ void playerDie(bool force)
}
playerDieByShooter(shooter, force);
#ifndef PLATFORM_N64
if (g_NetMode == NETMODE_SERVER && g_Vars.currentplayer->client) {
netmsgSvcPlayerStatsWrite(&g_NetMsgRel, g_Vars.currentplayer->client);
}
#endif
}
void playerDieByShooter(u32 shooter, bool force)