Skip to content

Commit

Permalink
Fix Skip keybinding always getting handled even when not skipping
Browse files Browse the repository at this point in the history
  • Loading branch information
flustix committed Sep 30, 2023
1 parent 75ceb98 commit 3a54093
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fluXis.Game/Screens/Gameplay/GameplayScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -568,9 +568,9 @@ public bool OnPressed(KeyBindingPressEvent<FluXisGlobalKeybind> e)
return true;

case FluXisGlobalKeybind.Skip:
if (Map.StartTime - AudioClock.CurrentTime > 2000)
AudioClock.Seek(Map.StartTime - 2000);
if (Map.StartTime - AudioClock.CurrentTime < 2000) return false;

AudioClock.Seek(Map.StartTime - 2000);
return true;

case FluXisGlobalKeybind.ScrollSpeedIncrease:
Expand Down

0 comments on commit 3a54093

Please sign in to comment.