fix: ScoreDelegate empty value checking when validating score

This commit is contained in:
283375 2023-10-17 19:09:50 +08:00
parent 263386e2f1
commit 7271eaab55
Signed by: 283375
SSH Key Fingerprint: SHA256:UcX0qg6ZOSDOeieKPGokA5h7soykG61nz2uxuQgVLSk

View File

@ -95,6 +95,7 @@ class ScoreDelegate(TextSegmentDelegate):
self.isScoreInstance(index)
and isinstance(chart, Chart)
and chart.notes is not None
and chart.notes != 0
and score.pure is not None
and score.far is not None
):