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

# Conflicts:
#	Assets/ML-Agents/Timers/ForestRacetrack_timers.json
#	Assets/ML-Agents/Timers/WinScreen_timers.json
This commit is contained in:
magn9775
2024-04-26 10:59:01 +02:00
6 changed files with 129 additions and 100 deletions

View File

@@ -53,6 +53,8 @@ public class MapSelectorScript : MonoBehaviour
public void SelectMapAndLoadScene()
{
AudioSource backgroundMusic = GameObject.Find("Car Data").GetComponent<AudioSource>();
backgroundMusic.Stop();
SceneManager.LoadScene(scene);
}
}