Code cleanup.

This commit is contained in:
2022-11-28 14:20:49 +08:00
parent d16548e570
commit 358e654f51
2 changed files with 2 additions and 2 deletions

View File

@@ -225,7 +225,7 @@ namespace Cryville.Crtr {
_etor.ContextCascadeDiscard(); _etor.ContextCascadeDiscard();
if (tv.Type == PdtInternalType.Null) _activeCounts[id.Source]--; if (tv.Type == PdtInternalType.Null) _activeCounts[id.Source]--;
} }
_judge.Cleanup(target, ft, tt); _judge.Cleanup(target, tt);
_vecs[pid] = tv; _vecs[pid] = tv;
} }
} }

View File

@@ -137,7 +137,7 @@ namespace Cryville.Crtr {
} }
return false; return false;
} }
public void Cleanup(Identifier target, float ft, float tt) { public void Cleanup(Identifier target, float tt) {
Forward(target, tt); Forward(target, tt);
var actlist = activeEvs[target]; var actlist = activeEvs[target];
for (int i = actlist.Count - 1; i >= 0; i--) { for (int i = actlist.Count - 1; i >= 0; i--) {