From f423515440ab5274b7ba7172dab67a82a3eff0e4 Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 21 Jan 2026 21:30:52 +0100 Subject: [PATCH] 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 --- src/lua_baselib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lua_baselib.c b/src/lua_baselib.c index 0da8abfae..a858aceb8 100644 --- a/src/lua_baselib.c +++ b/src/lua_baselib.c @@ -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; }