Remove judge properties from note event.
This commit is contained in:
@@ -377,21 +377,13 @@ namespace Cryville.Crtr {
|
||||
}
|
||||
|
||||
public Note() {
|
||||
SubmitPropSrc("judge", new PropSrc.String(() => judge));
|
||||
SubmitPropSrc("endjudge", new PropSrc.String(() => endjudge));
|
||||
SubmitPropSrc("track", new PropSrc.Float(() => {
|
||||
var i = motions.FirstOrDefault(m => m.RelativeNode == null && m.Name.MainName == "track");
|
||||
if (i == null) return ((Vec1)ChartPlayer.motionRegistry["track"].InitValue).Value;
|
||||
else return ((Vec1)i.AbsoluteValue).Value;
|
||||
}));
|
||||
SubmitPropOp("judge", new PropOp.String(v => judge = v));
|
||||
SubmitPropOp("endjudge", new PropOp.String(v => endjudge = v));
|
||||
}
|
||||
|
||||
[Obsolete]
|
||||
public string judge;
|
||||
[Obsolete]
|
||||
public string endjudge;
|
||||
public override EventList GetEventsOfType(string type) {
|
||||
switch (type) {
|
||||
case "judges": return new EventList<Judge>(judges);
|
||||
|
Reference in New Issue
Block a user