Skip to content

Commit

Permalink
final fix to logic
Browse files Browse the repository at this point in the history
  • Loading branch information
XtraCube committed Feb 4, 2025
1 parent 9c15ca4 commit fa8ea9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MiraAPI/GameModes/GameModeOption.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class GameModeOption : AbstractOptionGroup
/// <summary>
/// Gets or sets the game mode option.
/// </summary>
public ModdedNumberOption CurrentMode { get; set; } = new("Game Mode: {0}", 0, 0, CustomGameModeManager.LastId-1, 1, Utilities.MiraNumberSuffixes.None)
public ModdedNumberOption CurrentMode { get; set; } = new("Game Mode: {0}", 0, 0, CustomGameModeManager.LastId, 1, Utilities.MiraNumberSuffixes.None)
{
ChangedEvent = x => CustomGameModeManager.SetGameMode((uint)x),
};
Expand Down

0 comments on commit fa8ea9d

Please sign in to comment.