From 01280dc936dd0d7ead42182edfe65f0dd4309666 Mon Sep 17 00:00:00 2001 From: Edward Frye <46543066+AnakinSkywalker066@users.noreply.github.com> Date: Wed, 26 Jul 2023 15:08:36 -0400 Subject: [PATCH 1/2] Update AutoNudgeMod.cs --- AutoNudgeMod.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AutoNudgeMod.cs b/AutoNudgeMod.cs index 44ed89f..6a5bc5f 100644 --- a/AutoNudgeMod.cs +++ b/AutoNudgeMod.cs @@ -31,7 +31,7 @@ public override void OnUpdate() var inputManager = InGame.instance.InputManager; - if (!inputManager.IsInPlacementMode()) return; + if (!inputManager.IsInPlacementMode) return; var realCursorPos = InputSystemController.MousePosition; @@ -60,4 +60,4 @@ public static bool CanPlace(Vector2 realCursorPos) return bridge.CanPlaceTowerAt(cursorWorld, inputManager.placementModel, bridge.MyPlayerNumber, inputManager.placementEntityId); } -} \ No newline at end of file +} From e1d6a568cc5a4301fbdec8897ea197c1bf751ada Mon Sep 17 00:00:00 2001 From: Edward Frye <46543066+AnakinSkywalker066@users.noreply.github.com> Date: Wed, 26 Jul 2023 15:20:34 -0400 Subject: [PATCH 2/2] Update ModHelperData.cs --- ModHelperData.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ModHelperData.cs b/ModHelperData.cs index 4a00b47..308b738 100644 --- a/ModHelperData.cs +++ b/ModHelperData.cs @@ -2,8 +2,8 @@ namespace AutoNudge; public static class ModHelperData { - public const string WorksOnVersion = "36.0"; - public const string Version = "1.0.1"; + public const string WorksOnVersion = "38.0"; + public const string Version = "1.0.2"; public const string Name = "Auto Nudge"; public const string Description = @@ -12,4 +12,4 @@ public static class ModHelperData public const string RepoOwner = "doombubbles"; public const string RepoName = "auto-nudge"; -} \ No newline at end of file +}