Fix relative time calculation in judge report.
This commit is contained in:
@@ -217,7 +217,7 @@ namespace Cryville.Crtr {
|
|||||||
public void ReportJudge(Judge.JudgeEvent ev, float time, Identifier result) {
|
public void ReportJudge(Judge.JudgeEvent ev, float time, Identifier result) {
|
||||||
JudgeState state;
|
JudgeState state;
|
||||||
if (!judges.TryGetValue(ev.BaseEvent, out state)) return;
|
if (!judges.TryGetValue(ev.BaseEvent, out state)) return;
|
||||||
state.MarkJudged(time, (float)(time - cs.Time));
|
state.MarkJudged(time, (float)(ev.StartTime - time), result.Key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user