Skip to content

Commit

Permalink
Stop completed holds from showing up on the error bar
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Feb 12, 2019
1 parent b7c8651 commit a2c102d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ local e =
end,
SpottedOffsetCommand = function(self)
if enabledErrorBar == 1 then
if jdgCounts[jdgCur] ~= nil and jdgCur ~= "HoldNoteScore_LetGo" and jdgCur ~= "TapNoteScore_Miss" then
if jdgCounts[jdgCur] ~= nil and jdgCur ~= "HoldNoteScore_LetGo" and jdgCur ~= "TapNoteScore_Miss" and jdgCur ~= "HoldNoteScore_Held" then
currentbar = ((currentbar) % barcount) + 1
queuecommand(ingots[currentbar], "UpdateErrorBar") -- Update the next bar in the queue
end
Expand Down Expand Up @@ -581,7 +581,7 @@ if enabledErrorBar == 2 then
end
end,
SpottedOffsetCommand = function(self)
if jdgCounts[jdgCur] and jdgCur ~= "HoldNoteScore_LetGo" and jdgCur~= "TapNoteScore_Miss" then
if jdgCounts[jdgCur] and jdgCur ~= "HoldNoteScore_LetGo" and jdgCur ~= "TapNoteScore_Miss" and jdgCur ~= "HoldNoteScore_Held" then
avg = alpha * dvCur + (1 - alpha) * lastAvg
lastAvg = avg
self:x(MovableValues.ErrorBarX + avg * wscale)
Expand Down

0 comments on commit a2c102d

Please sign in to comment.