diff --git a/src/Better1911/Plugin.cs b/src/Better1911/Plugin.cs index b3c3902..3ba9655 100644 --- a/src/Better1911/Plugin.cs +++ b/src/Better1911/Plugin.cs @@ -5,7 +5,7 @@ namespace Better1911 { - [BepInPlugin("maiq.Better1911", "Better1911", "1.5.0")] + [BepInPlugin("maiq.Better1911", "Better1911", "1.5.1")] [BepInProcess("h3vr.exe")] public class Plugin : BaseUnityPlugin { @@ -173,14 +173,14 @@ private void FVRFireArmMagazine_Load(On.FistVR.FVRFireArmMagazine.orig_Load orig } } - private void FVRFireArmMagazine_Release(On.FistVR.FVRFireArmMagazine.orig_Release orig, FistVR.FVRFireArmMagazine self) + private void FVRFireArmMagazine_Release(On.FistVR.FVRFireArmMagazine.orig_Release orig, FVRFireArmMagazine self, bool PhysicalRelease) { if (Better1911(self.FireArm) && IsLowCapMag(self)) { self.transform.localScale = new Vector3(1f, 1f, 1f); } - orig(self); + orig(self, PhysicalRelease); } #region Helpers diff --git a/src/libs/Assembly-CSharp_publicized.dll b/src/libs/Assembly-CSharp_publicized.dll index 5a9f193..456a66b 100644 Binary files a/src/libs/Assembly-CSharp_publicized.dll and b/src/libs/Assembly-CSharp_publicized.dll differ diff --git a/src/libs/MMHOOK_Assembly-CSharp.dll b/src/libs/MMHOOK_Assembly-CSharp.dll index d93396f..f77f815 100644 Binary files a/src/libs/MMHOOK_Assembly-CSharp.dll and b/src/libs/MMHOOK_Assembly-CSharp.dll differ diff --git a/thunderstore/manifest.json b/thunderstore/manifest.json index 7384b7a..33cfedd 100644 --- a/thunderstore/manifest.json +++ b/thunderstore/manifest.json @@ -1,6 +1,6 @@ { "name": "Better1911", - "version_number": "1.5.0", + "version_number": "1.5.1", "dependencies": [ "nrgill28-HookGenPatcher_H3VR-1.2.3" ],