Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

Commit

Permalink
input fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
RadiantCorium committed Jun 5, 2022
1 parent ce6b63a commit 008e051
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
6 changes: 3 additions & 3 deletions source/states/gameplay/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1901,19 +1901,19 @@ class PlayState extends MusicBeatState

var daRating:String = "sick";

if (offset > Std.int(Option.recieveValue("DEBUG_shitTiming")) || offset < -Std.int(Option.recieveValue("DEBUG_shitTiming")))
if (offset > 70 || offset < -70)
{
daRating = 'shit';
shits++;
score = 50;
}
else if (offset > Std.int(Option.recieveValue("DEBUG_badTiming")) || offset < -Std.int(Option.recieveValue("DEBUG_badTiming")))
else if (offset > 50 || offset < -50)
{
daRating = 'bad';
bads++;
score = 100;
}
else if (offset > Std.int(Option.recieveValue("DEBUG_goodTiming")) || offset < -Std.int(Option.recieveValue("DEBUG_goodTiming")))
else if (offset > 36 || offset < -36)
{
daRating = 'good';
goods++;
Expand Down
7 changes: 0 additions & 7 deletions source/states/menu/OptionsMenu.hx
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,6 @@ class OptionsMenu extends MusicBeatState
FlxG.save.erase();
})
]),
#if debug
new OptionGroup("Debug", [
new RangeOption("Good Timing %v", "Controls the timing window of good",36, 100, 2, "DEBUG_goodTiming"),
new RangeOption("Bad Timing %v", "Controls the timing window of bad", 50, 100, 2, "DEBUG_badTiming"),
new RangeOption("Shit Timing %v", "Controls the timing window of shit", 70, 100, 2, "DEBUG_shitTiming"),
])
#end
];

transIn = FlxTransitionableState.defaultTransIn;
Expand Down

0 comments on commit 008e051

Please sign in to comment.