From 0ee5507029ac5a27561fbd42d083ab9286e75047 Mon Sep 17 00:00:00 2001 From: SokyranTheDragon Date: Fri, 7 Jun 2024 17:28:48 +0200 Subject: [PATCH] Add EarlyPatch attribute to PawnTweener.TweenedPos patch Zetrith provided the fix on Discord and pointed out that it seems to be inlining issue. It was the first time I've dealt with an issue like this, so I greatly appreciate it. I've spent several day investigating the issue and have just reached a dead end. This should fix the issue with Vanilla Expanded Framework. Using this fix I was not able to reproduce the issue anymore. --- Source/Client/Patches/Determinism.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Client/Patches/Determinism.cs b/Source/Client/Patches/Determinism.cs index 1eac7ec5..39e9c777 100644 --- a/Source/Client/Patches/Determinism.cs +++ b/Source/Client/Patches/Determinism.cs @@ -15,6 +15,7 @@ namespace Multiplayer.Client.Patches { + [EarlyPatch] [HarmonyPatch(typeof(PawnTweener))] [HarmonyPatch(nameof(PawnTweener.TweenedPos), MethodType.Getter)] static class DrawPosPatch