mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-01-12 23:27:35 +00:00
Merge pull request #2540 from gamerbross/bugfix/attract-toycommercial-allow-volume
[BUGFIX] Allow Volume Keys while watching Toy Commercial (AttractState)
This commit is contained in:
commit
8432f0668a
|
@ -89,7 +89,7 @@ class AttractState extends MusicBeatState
|
||||||
super.update(elapsed);
|
super.update(elapsed);
|
||||||
|
|
||||||
// If the user presses any button, skip the video.
|
// If the user presses any button, skip the video.
|
||||||
if (FlxG.keys.justPressed.ANY)
|
if (FlxG.keys.justPressed.ANY && !controls.VOLUME_MUTE && !controls.VOLUME_UP && !controls.VOLUME_DOWN)
|
||||||
{
|
{
|
||||||
onAttractEnd();
|
onAttractEnd();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue