diff --git a/Source/Client/Patches/Seeds.cs b/Source/Client/Patches/Seeds.cs index d4301500..cef7d7d3 100644 --- a/Source/Client/Patches/Seeds.cs +++ b/Source/Client/Patches/Seeds.cs @@ -98,11 +98,12 @@ static void Prefix(ref Action action) { if (Multiplayer.Client != null && (Multiplayer.Ticking || Multiplayer.ExecutingCmds)) { - action = PushState + action + Rand.PopState; + var seed = Rand.Int; + action = (() => PushState(seed)) + action + Rand.PopState; } } - static void PushState() => Rand.PushState(4); + static void PushState(int seed) => Rand.PushState(seed); } // Seed the rotation random