Skip to content

Commit

Permalink
Add EarlyPatch attribute to PawnTweener.TweenedPos patch
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
SokyranTheDragon committed Jun 7, 2024
1 parent 41f0131 commit 0ee5507
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Client/Patches/Determinism.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

namespace Multiplayer.Client.Patches
{
[EarlyPatch]
[HarmonyPatch(typeof(PawnTweener))]
[HarmonyPatch(nameof(PawnTweener.TweenedPos), MethodType.Getter)]
static class DrawPosPatch
Expand Down

0 comments on commit 0ee5507

Please sign in to comment.