Skip to content

Commit f76f29e

Browse files
committed
fix NetcodePlayer toString
1 parent 48df406 commit f76f29e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Backdash/Player/NetcodePlayer.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ public override string ToString()
128128
builder.Append("Player");
129129
}
130130

131-
builder.Append(Index);
131+
builder.Append(Number);
132132

133-
if (CustomId != 0)
134-
builder.Append($"(Id: ${CustomId})");
133+
if (CustomId is not 0)
134+
builder.Append($"(Id: {CustomId})");
135135

136136
builder.Append('}');
137137
return builder.ToString();

0 commit comments

Comments
 (0)