Skip to content

Commit

Permalink
Fix stek overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vicr123 committed May 11, 2024
1 parent 367c0ec commit a1795c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DiscordMonies/Board/Board.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class Space : IOwnable
public string PositionString => Index % 10 == 0 ? string.Empty : $" ({PositionCode})";

public string NameWithPositionString =>
ToString() + (string.IsNullOrEmpty(PositionString) ? string.Empty : PositionString);
Info.Name + (string.IsNullOrEmpty(PositionString) ? string.Empty : PositionString);

public override string ToString() => NameWithPositionString;

Expand Down

0 comments on commit a1795c2

Please sign in to comment.