This commit is contained in:
magn9775
2024-05-03 13:25:42 +02:00
parent 1e53774e99
commit 57a46e6e03
3 changed files with 4 additions and 3 deletions

View File

@@ -123,10 +123,11 @@ public class GameManager : MonoBehaviour
player.GetComponent<AgentController>().enabled = false;
}
else
{
playersFinished.Add(player.name + " (player)");
player.GetComponent<PlayerController>().enabled = false;
nextCarbtn.SetActive(true);
}
playerTimesStr[i] = playerTimes[i].ToString();
}
}