Skip to content

Commit

Permalink
update for U100
Browse files Browse the repository at this point in the history
  • Loading branch information
Maiq-The-Dude committed Nov 13, 2021
1 parent 84c4ceb commit 2e09f14
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Better1911/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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
Expand Down
Binary file modified src/libs/Assembly-CSharp_publicized.dll
Binary file not shown.
Binary file modified src/libs/MMHOOK_Assembly-CSharp.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion thunderstore/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Better1911",
"version_number": "1.5.0",
"version_number": "1.5.1",
"dependencies": [
"nrgill28-HookGenPatcher_H3VR-1.2.3"
],
Expand Down

0 comments on commit 2e09f14

Please sign in to comment.