Hello, guys.
I want to fix something in the audio manager.
I did a mistake before and it seems pretty silly to do this, but for some reason I did it.
This can happen to anyone.
I guess so.
This does not actually cause any bugs.
I did not notice any, but it may happen that it will cause a bug.
So what is the problem I'm talking about?
I'm doing for loop for all of the background music, but instead of index here, I mean instead of I
I'm using index.
And I guess that's the problem of a name in here.
So it should be I here to stop all of the music and after I did BGM, I see that I have basically the
same function over here, so I don't need to repeat this for loop, so I'll just do stop BGM like so
and this makes it much more readable and it makes much more sense, I believe so, yeah, not that big
of a deal, but something good to notice and to fix.
This was noticed by one of the students.
By the way, his name is Philip Varghese.
So yeah, thank you so much man, for assistance for this tip and check my website for more courses
and I'll see you in the next video.