Clear soundTracks and musicTracks on musicclass::init

This commit is contained in:
leo60228
2020-01-30 09:50:19 -05:00
committed by Ethan Lee
parent 2f760af439
commit e71f47f1c9

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" )));