Clear soundTracks and musicTracks on musicclass::init

This commit is contained in:
leo60228 authored and Ethan Lee committed 2020-06-07 00:04:42 -04:00
1 parent 2f760af439
commit e71f47f1c9
1 file changed
+3
+3
View File
@@ -6,6 +6,9 @@
void musicclass::init()
{
soundTracks.clear();
musicTracks.clear();
soundTracks.push_back(move(SoundTrack( "sounds/jump.wav" )));
soundTracks.push_back(move(SoundTrack( "sounds/jump2.wav" )));
soundTracks.push_back(move(SoundTrack( "sounds/hurt.wav" )));