Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: Method renaming.
Browse files Browse the repository at this point in the history
  • Loading branch information
RiotNOR committed May 16, 2023
1 parent 059efa8 commit cd15cde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion RotationSolver/UI/RotationConfigWindow_Rotation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private static void DrawRotations(CustomRotationGroup[] rotations)
if (i > 0) ImGui.Separator();

var group = rotations[i];
var rotation = RotationUpdater.GetChooseRotation(group);
var rotation = RotationUpdater.GetChosenRotation(group);

var canAddButton = Service.Player != null
&& rotation.JobIDs.Contains((ClassJobID)Service.Player.ClassJob.Id);
Expand Down
4 changes: 2 additions & 2 deletions RotationSolver/Updaters/RotationUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ public static void UpdateRotation()
{
if (!group.ClassJobIds.Contains(nowJob)) continue;

var rotation = GetChooseRotation(group);
var rotation = GetChosenRotation(group);
if (rotation != RightNowRotation)
{
rotation?.OnTerritoryChanged();
Expand All @@ -424,7 +424,7 @@ public static void UpdateRotation()
RightRotationActions = Array.Empty<IAction>();
}

internal static ICustomRotation GetChooseRotation(CustomRotationGroup group)
internal static ICustomRotation GetChosenRotation(CustomRotationGroup group)
{
var has = Service.Config.RotationChoices.TryGetValue((uint)group.JobId, out var name);

Expand Down

0 comments on commit cd15cde

Please sign in to comment.