Skip to content

Commit

Permalink
Update GameModeMap.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SadPencil committed Jan 24, 2025
1 parent 100d5bb commit dad5fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DXMainClient/Domain/Multiplayer/GameModeMap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public GameModeMap(GameMode gameMode, Map map, bool isFavorite)
}

public override string ToString()
=> $"{GameMode.Name} - {Map.Name}";
=> $"{GameMode?.Name} - {Map?.Name}";

protected bool Equals(GameModeMap other) => Equals(GameMode, other.GameMode) && Equals(Map, other.Map);

Expand Down

0 comments on commit dad5fdc

Please sign in to comment.