Skip to content

Commit b0fa43d

Browse files
committed
Fixed Count in screen names
1 parent e90c03e commit b0fa43d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Assets/EC2018/CountInDetailPopulator.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ public string GetPlayerName(PlayerType playerType) {
2020
string playerName;
2121
if (playerType == PlayerType.A) {
2222
playerName = new DirectoryInfo(allPlayers[0]).Name;
23-
}
24-
playerName = new DirectoryInfo(allPlayers[1]).Name;
23+
} else {
24+
playerName = new DirectoryInfo(allPlayers[1]).Name;
25+
}
2526

2627
if(playerName.Length > MaxLength) {
2728
playerName = playerName.Substring(0, MaxLength) + "...";

0 commit comments

Comments
 (0)