diff --git a/Counters+/ConfigModels/Counters/MissedConfigModel.cs b/Counters+/ConfigModels/Counters/MissedConfigModel.cs index f4cf7fc8..417e00f4 100644 --- a/Counters+/ConfigModels/Counters/MissedConfigModel.cs +++ b/Counters+/ConfigModels/Counters/MissedConfigModel.cs @@ -15,5 +15,8 @@ internal class MissedConfigModel : ConfigModel [UIValue(nameof(CountBadCuts))] public virtual bool CountBadCuts { get; set; } = true; + + [UIValue(nameof(CountChainLinks))] + public virtual bool CountChainLinks { get; set; } = true; } } diff --git a/Counters+/Counters/MissedCounter.cs b/Counters+/Counters/MissedCounter.cs index ad6b42fb..62139aaf 100644 --- a/Counters+/Counters/MissedCounter.cs +++ b/Counters+/Counters/MissedCounter.cs @@ -21,7 +21,14 @@ public void OnNoteCut(NoteData data, NoteCutInfo info) public void OnNoteMiss(NoteData data) { - if (data.colorType != ColorType.None && data.gameplayType != NoteData.GameplayType.BurstSliderElement) counter.text = (++notesMissed).ToString(); + if (Settings.CountChainLinks == false) + { + if (data.colorType != ColorType.None && data.gameplayType != NoteData.GameplayType.BurstSliderElement) counter.text = (++notesMissed).ToString(); + } + else + { + if (data.colorType != ColorType.None) counter.text = (++notesMissed).ToString(); + } } } } diff --git a/Counters+/UI/BSML/Config/Missed.bsml b/Counters+/UI/BSML/Config/Missed.bsml index b8833079..b25ddfee 100644 --- a/Counters+/UI/BSML/Config/Missed.bsml +++ b/Counters+/UI/BSML/Config/Missed.bsml @@ -1,3 +1,4 @@  - \ No newline at end of file + +