Universally challenged fixed
This commit is contained in:
@@ -49,6 +49,8 @@ public class TabletScoreboard : Scoreboard
|
||||
// Set player name
|
||||
row.SetPlayerName(player.displayName);
|
||||
string teamColor = playerManager.GetTeam(player.playerId);
|
||||
int score = playerManager.GetScore(player.playerId);
|
||||
row.SetPlayerScore(score);
|
||||
row.SetBackgroundColor(teamColor == "red" ? Color.red : teamColor == "blue" ? Color.blue : Color.grey);
|
||||
|
||||
playerRows[i] = row;
|
||||
|
||||
Reference in New Issue
Block a user