1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-26 23:16:46 +00:00

Merge pull request #121 from FunkinCrew/gameover-fix

gameover fix
This commit is contained in:
Eric 2023-08-03 11:49:11 -04:00 committed by GitHub
commit 7ee86f37af

View file

@ -132,11 +132,11 @@ class GameOverSubState extends MusicBeatSubState
if (boyfriend.hasAnimation('fakeoutDeath') && FlxG.random.bool((1 / 4096) * 100)) if (boyfriend.hasAnimation('fakeoutDeath') && FlxG.random.bool((1 / 4096) * 100))
{ {
boyfriend.playAnimation('fakeoutDeath', true, true); boyfriend.playAnimation('fakeoutDeath', true, false);
} }
else else
{ {
boyfriend.playAnimation('firstDeath', true, true); boyfriend.playAnimation('firstDeath', true, false); // ignoreOther is set to FALSE since you WANT to be able to mash and confirm game over!
// Play the "blue balled" sound. May play a variant if one has been assigned. // Play the "blue balled" sound. May play a variant if one has been assigned.
playBlueBalledSFX(); playBlueBalledSFX();
} }