From a2c102dce68b3919f3ab3989d8ba27bce92fb1c4 Mon Sep 17 00:00:00 2001 From: poco0317 Date: Tue, 12 Feb 2019 16:40:52 -0600 Subject: [PATCH] Stop completed holds from showing up on the error bar --- .../ScreenGameplay overlay/WifeJudgmentSpotting.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Themes/Til Death/BGAnimations/ScreenGameplay overlay/WifeJudgmentSpotting.lua b/Themes/Til Death/BGAnimations/ScreenGameplay overlay/WifeJudgmentSpotting.lua index da82b4c706..c8d85d9633 100644 --- a/Themes/Til Death/BGAnimations/ScreenGameplay overlay/WifeJudgmentSpotting.lua +++ b/Themes/Til Death/BGAnimations/ScreenGameplay overlay/WifeJudgmentSpotting.lua @@ -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 @@ -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)