From 6ccf1940cd64d37dc875c998a638f4d5aed70419 Mon Sep 17 00:00:00 2001 From: MtH Date: Sun, 28 Mar 2021 23:36:14 +0200 Subject: [PATCH] pixel countdown --- source/PlayState.hx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/PlayState.hx b/source/PlayState.hx index 6526b97b4..a31998508 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -994,7 +994,7 @@ class PlayState extends MusicBeatState { case 0: - FlxG.sound.play(Paths.sound('intro3'), 0.6); + FlxG.sound.play(Paths.sound('intro3' + altSuffix), 0.6); case 1: var ready:FlxSprite = new FlxSprite().loadGraphic(Paths.image(introAlts[0])); ready.scrollFactor.set(); @@ -1012,7 +1012,7 @@ class PlayState extends MusicBeatState ready.destroy(); } }); - FlxG.sound.play(Paths.sound('intro2'), 0.6); + FlxG.sound.play(Paths.sound('intro2' + altSuffix), 0.6); case 2: var set:FlxSprite = new FlxSprite().loadGraphic(Paths.image(introAlts[1])); set.scrollFactor.set(); @@ -1029,7 +1029,7 @@ class PlayState extends MusicBeatState set.destroy(); } }); - FlxG.sound.play(Paths.sound('intro1'), 0.6); + FlxG.sound.play(Paths.sound('intro1' + altSuffix), 0.6); case 3: var go:FlxSprite = new FlxSprite().loadGraphic(Paths.image(introAlts[2])); go.scrollFactor.set(); @@ -1048,7 +1048,7 @@ class PlayState extends MusicBeatState go.destroy(); } }); - FlxG.sound.play(Paths.sound('introGo'), 0.6); + FlxG.sound.play(Paths.sound('introGo' + altSuffix), 0.6); } swagCounter += 1;