Skip to content

Commit

Permalink
Merge pull request #2 from AnakinSkywalker066/main
Browse files Browse the repository at this point in the history
Update!
  • Loading branch information
doombubbles authored Jul 26, 2023
2 parents 40d1682 + e1d6a56 commit 91e348c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions AutoNudgeMod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -60,4 +60,4 @@ public static bool CanPlace(Vector2 realCursorPos)
return bridge.CanPlaceTowerAt(cursorWorld, inputManager.placementModel, bridge.MyPlayerNumber,
inputManager.placementEntityId);
}
}
}
6 changes: 3 additions & 3 deletions ModHelperData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand All @@ -12,4 +12,4 @@ public static class ModHelperData

public const string RepoOwner = "doombubbles";
public const string RepoName = "auto-nudge";
}
}

0 comments on commit 91e348c

Please sign in to comment.