wait for sound to finish hollywoo-flixel

This commit is contained in:
2021-11-01 18:38:32 -04:00
parent d9727d4148
commit 65d2bd8742

View File

@@ -105,7 +105,5 @@
(method :Void playSound [:FlxSound sound :Float volumeMod :Continuation cc]
// TODO preserve its original volume
(set sound.volume volumeMod)
(sound.play)
// TODO wait for its duration
(cc)
)
(set sound.onComplete cc)
(sound.play))