private void UpdateGamestate() { // Store round info gameStateHandler.OnRoundComplete(score); // Calculate Top Chef int topScore = 0; string topChef = null; var players = FindObjectsOfType <Player>(); foreach (Player player in players) { if (player.PlayerScore > topScore) { topScore = player.PlayerScore; topChef = player.PlayerUserName; } } currentTopChef = topChef; RpcSetTopChef(topChef); }