fix rng desynch caused by lib_pPlayRinglossSound

mfw using p_islocalplayer with prng
thisll still desynch vanilly clients but should fix desynchs between saturn clients, oh well
This commit is contained in:
Alug committed 2026-01-21 21:30:52 +01:00
1 parent aed147fc1b
commit f423515440
1 file changed
+2
+2
View File
@@ -1310,6 +1310,8 @@ static int lib_pPlayRinglossSound(lua_State *L)
}
if (!player || P_IsLocalPlayer(player))
P_PlayRinglossSound(source, damager);
else
(void)P_RandomKey(2);
return 0;
}