Skip to content

Commit

Permalink
Update ResultState.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
JVNpixels authored and EliteMasterEric committed Feb 28, 2025
1 parent 5054c58 commit edb270d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/funkin/play/ResultState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import funkin.ui.freeplay.charselect.PlayableCharacter;
import flixel.util.FlxColor;
import flixel.tweens.FlxEase;
import funkin.graphics.FunkinCamera;
import funkin.input.Controls;
import funkin.ui.freeplay.FreeplayState;
import flixel.tweens.FlxTween;
import flixel.addons.display.FlxBackdrop;
Expand Down Expand Up @@ -727,7 +728,7 @@ class ResultState extends MusicBeatSubState
speedOfTween.x -= 0.1;
}

if (controls.PAUSE)
if (controls.PAUSE || controls.ACCEPT)
{
if (introMusicAudio != null)
{
Expand Down

1 comment on commit edb270d

@Starexify
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The import funkin.input.Controls; seems pretty useless since MusicBeatSubState already has it

Please sign in to comment.