Code cleanup.

This commit is contained in:
2023-02-09 18:18:34 +08:00
parent 7714c277fd
commit 18ff4b8e16
6 changed files with 13 additions and 41 deletions

View File

@@ -70,7 +70,6 @@ namespace Cryville.Crtr.Event {
public byte CloneType;
public ContainerState rootPrototype = null;
private ContainerState prototype = null;
public ContainerHandler Handler {
get;
@@ -140,7 +139,6 @@ namespace Cryville.Crtr.Event {
else if (ct == 3) Handler.ns = r;
else if (ct >= 16) Handler.ps = r;
else throw new InvalidOperationException("Invalid clone type");
r.prototype = this;
r.CloneType = ct;
return r;
}