Code cleanup.
This commit is contained in:
@@ -11,11 +11,10 @@ namespace Cryville.Crtr {
|
||||
readonly GroupHandler gh;
|
||||
public readonly Chart.Note Event;
|
||||
readonly PdtRuleset ruleset;
|
||||
public NoteHandler(GroupHandler gh, Chart.Note ev, PdtRuleset rs, Judge j) : base() {
|
||||
public NoteHandler(GroupHandler gh, Chart.Note ev, PdtRuleset rs) : base() {
|
||||
this.gh = gh;
|
||||
Event = ev;
|
||||
ruleset = rs;
|
||||
judge = j;
|
||||
}
|
||||
|
||||
public override string TypeName {
|
||||
@@ -43,8 +42,7 @@ namespace Cryville.Crtr {
|
||||
base.Awake(s);
|
||||
if (s.CloneType == 2) {
|
||||
if (!gogroup) return;
|
||||
Chart.Note tev = Event;
|
||||
if (tev.IsLong) {
|
||||
if (Event.IsLong) {
|
||||
foreach (var i in sgos) {
|
||||
i.Reset();
|
||||
i.AppendPoint(Position, Rotation);
|
||||
|
Reference in New Issue
Block a user