add back altSuffix to sounds in startTimer

This commit is contained in:
Kade M 2021-03-22 11:37:14 -07:00 committed by GitHub
parent 931cbab58b
commit e39654e8d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1047,7 +1047,7 @@ class PlayState extends MusicBeatState
{ {
case 0: case 0:
FlxG.sound.play(Paths.sound('intro3'), 0.6); FlxG.sound.play(Paths.sound('intro3' + altSuffix), 0.6);
case 1: case 1:
var ready:FlxSprite = new FlxSprite().loadGraphic(Paths.image(introAlts[0])); var ready:FlxSprite = new FlxSprite().loadGraphic(Paths.image(introAlts[0]));
ready.scrollFactor.set(); ready.scrollFactor.set();
@ -1065,7 +1065,7 @@ class PlayState extends MusicBeatState
ready.destroy(); ready.destroy();
} }
}); });
FlxG.sound.play(Paths.sound('intro2'), 0.6); FlxG.sound.play(Paths.sound('intro2' + altSuffix), 0.6);
case 2: case 2:
var set:FlxSprite = new FlxSprite().loadGraphic(Paths.image(introAlts[1])); var set:FlxSprite = new FlxSprite().loadGraphic(Paths.image(introAlts[1]));
set.scrollFactor.set(); set.scrollFactor.set();
@ -1082,7 +1082,7 @@ class PlayState extends MusicBeatState
set.destroy(); set.destroy();
} }
}); });
FlxG.sound.play(Paths.sound('intro1'), 0.6); FlxG.sound.play(Paths.sound('intro1' + altSuffix), 0.6);
case 3: case 3:
var go:FlxSprite = new FlxSprite().loadGraphic(Paths.image(introAlts[2])); var go:FlxSprite = new FlxSprite().loadGraphic(Paths.image(introAlts[2]));
go.scrollFactor.set(); go.scrollFactor.set();
@ -1101,7 +1101,7 @@ class PlayState extends MusicBeatState
go.destroy(); go.destroy();
} }
}); });
FlxG.sound.play(Paths.sound('introGo'), 0.6); FlxG.sound.play(Paths.sound('introGo' + altSuffix), 0.6);
case 4: case 4:
} }