Skip to content

Commit

Permalink
fix:
Browse files Browse the repository at this point in the history
  • Loading branch information
yukieiji committed Jun 25, 2024
1 parent 207bf3a commit 8622da3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ExtremeRoles.Test/Helper/GameUtility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static void ChangePresetTo(int newPreset)
return;
}
var option = presetCate.Get(0);
mng.UpdateToStep(presetCate, option, newPreset);
mng.Update(presetCate, option, newPreset);
}

public static IEnumerator StartGame(ManualLogSource logger)
Expand Down
2 changes: 1 addition & 1 deletion ExtremeRoles/Module/CustomOption/OptionManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public void UpdateToStep(in OptionCategory category, in IOption option, int step
{
newSelection = newSelection > 0 ? option.Range - 1 : 0;
}
Update(category, option, newSelection));
Update(category, option, newSelection);
}

public void Update(in OptionCategory category, in int id, int newIndex)
Expand Down

0 comments on commit 8622da3

Please sign in to comment.