1
00:00:00,000 --> 00:00:00,000
Hello, guys.

2
00:00:00,000 --> 00:00:03,000
I want to fix something in the audio manager.

3
00:00:03,000 --> 00:00:08,000
I did a mistake before and it seems pretty silly to do this, but for some reason I did it.

4
00:00:08,000 --> 00:00:10,000
This can happen to anyone.

5
00:00:10,000 --> 00:00:11,000
I guess so.

6
00:00:11,000 --> 00:00:15,000
This does not actually cause any bugs.

7
00:00:15,000 --> 00:00:18,000
I did not notice any, but it may happen that it will cause a bug.

8
00:00:18,000 --> 00:00:21,000
So what is the problem I'm talking about?

9
00:00:21,000 --> 00:00:27,000
I'm doing for loop for all of the background music, but instead of index here, I mean instead of I

10
00:00:27,000 --> 00:00:28,000
I'm using index.

11
00:00:28,000 --> 00:00:31,000
And I guess that's the problem of a name in here.

12
00:00:31,000 --> 00:00:38,000
So it should be I here to stop all of the music and after I did BGM, I see that I have basically the

13
00:00:38,000 --> 00:00:43,000
same function over here, so I don't need to repeat this for loop, so I'll just do stop BGM like so

14
00:00:43,000 --> 00:00:52,000
and this makes it much more readable and it makes much more sense, I believe so, yeah, not that big

15
00:00:52,000 --> 00:00:55,000
of a deal, but something good to notice and to fix.

16
00:00:55,000 --> 00:00:57,000
This was noticed by one of the students.

17
00:00:57,000 --> 00:01:01,000
By the way, his name is Philip Varghese.

18
00:01:01,000 --> 00:01:09,000
So yeah, thank you so much man, for assistance for this tip and check my website for more courses

19
00:01:09,000 --> 00:01:10,000
and I'll see you in the next video.

