fixed background music
This commit is contained in:
@@ -53,6 +53,8 @@ public class MapSelectorScript : MonoBehaviour
|
||||
|
||||
public void SelectMapAndLoadScene()
|
||||
{
|
||||
AudioSource backgroundMusic = GameObject.Find("Car Data").GetComponent<AudioSource>();
|
||||
backgroundMusic.Stop();
|
||||
SceneManager.LoadScene(scene);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user