Music bux fixes
This commit is contained in:
parent
0ee8dcad77
commit
10d546a9e2
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@ public class MusicStarter : MonoBehaviour
|
||||||
{
|
{
|
||||||
await Task.Delay(delayForSetup);
|
await Task.Delay(delayForSetup);
|
||||||
MusicManager m = GameObject.FindWithTag("MusicManager").GetComponent<MusicManager>();
|
MusicManager m = GameObject.FindWithTag("MusicManager").GetComponent<MusicManager>();
|
||||||
m.StopOtherSongs();
|
m.StopOtherSongs(songName);
|
||||||
await Task.Delay(delayForSetup - delay);
|
await Task.Delay(delay);
|
||||||
m.PlaySong(songName);
|
m.PlaySong(songName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue