More Cleanups

This commit is contained in:
hondacrx
2021-06-08 12:56:09 -04:00
parent 302a1f293c
commit 52e43853fe
58 changed files with 223 additions and 257 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ namespace Game
{
int pos = name.IndexOf('-');
if (pos != -1)
return new ExtendedPlayerName(name.Substring(0, pos), name.Substring(pos + 1));
return new ExtendedPlayerName(name.Substring(0, pos), name[(pos + 1)..]);
else
return new ExtendedPlayerName(name, "");
}