Fix player returning to high volume on stop
This commit is contained in:
parent
84e05c8b55
commit
c2925a2159
@ -228,7 +228,7 @@ loop:
|
||||
|
||||
// Calm down music
|
||||
loopcalm:
|
||||
for i := 0; i < 128 && p.volume >= 500; i += 1 {
|
||||
for i := 0; i < 128 && p.volume >= 768; i += 1 {
|
||||
timer := time.NewTimer(40 * time.Millisecond)
|
||||
|
||||
p.volume -= 768
|
||||
|
Loading…
Reference in New Issue
Block a user