Skip to content

Commit

Permalink
revert abs
Browse files Browse the repository at this point in the history
  • Loading branch information
lemz1 authored and charlesisfeline committed Sep 24, 2024
1 parent a99db36 commit 5a2c01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/funkin/play/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -2450,7 +2450,7 @@ class PlayState extends MusicBeatSubState

// Get the offset and compensate for input latency.
// Round inward (trim remainder) for consistency.
var noteDiff:Int = Std.int(Math.abs(Conductor.instance.songPosition - note.noteData.time) - inputLatencyMs + Conductor.instance.inputOffset);
var noteDiff:Int = Std.int(Conductor.instance.songPosition - note.noteData.time - inputLatencyMs + Conductor.instance.inputOffset);

var score = Scoring.scoreNote(noteDiff, PBOT1);
var daRating = Scoring.judgeNote(noteDiff, PBOT1);
Expand Down

0 comments on commit 5a2c01e

Please sign in to comment.