1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-01-12 15:17:57 +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:
Eric 2024-05-18 14:13:28 -04:00 committed by GitHub
commit 8432f0668a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -89,7 +89,7 @@ class AttractState extends MusicBeatState
super.update(elapsed);
// 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();
}