Fix incorrect miss flag on judge pass.

This commit is contained in:
2023-06-02 22:40:52 +08:00
parent 74ce265016
commit 65c225e93b
2 changed files with 6 additions and 6 deletions

View File

@@ -44,7 +44,7 @@ namespace Cryville.Crtr {
_targets = k.ToArray();
}
internal override JudgeActionResult Execute(IJudge judge, JudgeEvent ev, float time, PdtExpression exp, bool onMiss, int depth, int index) {
return new JudgeActionResult { BreakExecution = judge.Pass(ev, time, _targets, depth) };
return new JudgeActionResult { BreakExecution = judge.Pass(ev, time, _targets, onMiss, depth) };
}
}
public class Score : JudgeAction {