fix LOOPSOUND with null volumeMod

This commit is contained in:
2024-10-14 15:50:45 -05:00
parent cb59fa5098
commit 67452b60e8

View File

@@ -1367,6 +1367,7 @@
(cc))
(hollywooMethod loopSound [:Bool skipping :String name :Continuation cc &opt :Float volumeMod :Float decay]
(unless volumeMod (set volumeMod 1))
(unless decay (set decay 0))
// Assume that if it's skipped past, decay would have completed before the skip ends:
(when (and skipping (> decay 0))