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:
1 parent
aed147fc1b
commit
f423515440
1 file changed
+2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user