wait for sound to finish hollywoo-flixel
This commit is contained in:
@@ -105,7 +105,5 @@
|
|||||||
(method :Void playSound [:FlxSound sound :Float volumeMod :Continuation cc]
|
(method :Void playSound [:FlxSound sound :Float volumeMod :Continuation cc]
|
||||||
// TODO preserve its original volume
|
// TODO preserve its original volume
|
||||||
(set sound.volume volumeMod)
|
(set sound.volume volumeMod)
|
||||||
(sound.play)
|
(set sound.onComplete cc)
|
||||||
// TODO wait for its duration
|
(sound.play))
|
||||||
(cc)
|
|
||||||
)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user