Skip to content

Commit

Permalink
update patched method
Browse files Browse the repository at this point in the history
  • Loading branch information
eia485 committed Sep 17, 2021
1 parent cb76085 commit 1371538
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cheese4All/Cheese4All.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ public class Cheese4All : NeosMod
{
public override string Name => "Cheese4All";
public override string Author => "eia485";
public override string Version => "1.0.0";
public override string Version => "1.0.1";
public override string Link => "https://github.com/EIA485/NeosCheese4All/";
public override void OnEngineInit()
{
Harmony harmony = new Harmony("net.eia485.Cheese4All");
harmony.PatchAll();
}
[HarmonyPatch(typeof(PointerInteractionController), "OnCommonUpdate")]
[HarmonyPatch(typeof(PointerInteractionController), "BeforeInputUpdate")]
class Cheese4AllPatch
{
public static void Prefix(ref bool ____cheeseActivated, ref UnlitMaterial ____pointerMaterial, PointerInteractionController __instance)
Expand Down
4 changes: 2 additions & 2 deletions Cheese4All/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.0.1.0")]
[assembly: AssemblyFileVersion("1.0.1.0")]

0 comments on commit 1371538

Please sign in to comment.