Merge branch 'master' of git@ooftooft.net:Racesm

This commit is contained in:
magn9775
2024-04-26 18:21:11 +02:00
5 changed files with 27 additions and 102 deletions

View File

@@ -28,6 +28,9 @@ public class GameManager : MonoBehaviour
private bool hasCountedDown = false;
void Start()
{
AudioSource backgroundMusic = GameObject.Find("Car Data").GetComponent<AudioSource>();
backgroundMusic.Stop();
// reset laps
playerLaps = new int[players.Count()];
playerTimes = new float[players.Count()];