Implement score update.
This commit is contained in:
@@ -45,8 +45,12 @@ namespace Cryville.Crtr {
|
||||
}
|
||||
foreach (var j in judges.Values) {
|
||||
if (j.hit != null) etor.Optimize(j.hit);
|
||||
if (j.scores != null) foreach (var e in j.scores.Values) {
|
||||
etor.Optimize(e);
|
||||
if (j.scores != null) {
|
||||
foreach (var s in j.scores) {
|
||||
if (s.Key.op != default(Identifier))
|
||||
etor.PatchCompound(s.Key.name.Key, s.Key.op.Key, s.Value);
|
||||
etor.Optimize(s.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
foreach (var s in scores.Values) {
|
||||
|
Reference in New Issue
Block a user