diff --git a/projects/hollywoo-flixel/src/hollywoo_flixel/FlxDirector.kiss b/projects/hollywoo-flixel/src/hollywoo_flixel/FlxDirector.kiss index 23e76209..1be98a8a 100644 --- a/projects/hollywoo-flixel/src/hollywoo_flixel/FlxDirector.kiss +++ b/projects/hollywoo-flixel/src/hollywoo_flixel/FlxDirector.kiss @@ -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))