From 452ef89a977e5535ee50c2d6123cf81b327ebf42 Mon Sep 17 00:00:00 2001 From: lunarcleint Date: Tue, 15 Oct 2024 11:06:20 -0700 Subject: [PATCH] consistency cause im stupid --- source/funkin/editors/charter/Charter.hx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/funkin/editors/charter/Charter.hx b/source/funkin/editors/charter/Charter.hx index b3e6075d..328a7d82 100644 --- a/source/funkin/editors/charter/Charter.hx +++ b/source/funkin/editors/charter/Charter.hx @@ -1434,7 +1434,7 @@ class Charter extends UIState { CNote(note.step - minStep, note.id, note.strumLineID, note.susLength, note.type); } else if (s is CharterEvent) { var event = cast(s,CharterEvent); - CEvent(event.step - minStep, event.global, [for (event in event.events) Reflect.copy(event)]); + CEvent(event.step - minStep, [for (event in event.events) Reflect.copy(event)], event.global); } ]; } @@ -1450,7 +1450,7 @@ class Charter extends UIState { note.updatePos(minStep + step, id, susLength, type, strumLines.members[CoolUtil.boundInt(strumLineID, 0, strumLines.length-1)]); notesGroup.add(note); sObjects.push(note); - case CEvent(step, global, events): + case CEvent(step, events, global): var event = new CharterEvent(minStep + step, events, global); event.refreshEventIcons(); (global ? globalEventsGroup : localEventsGroup).add(event); @@ -2009,7 +2009,7 @@ enum CharterChange { enum CharterCopyboardObject { CNote(step:Float, id:Int, strumLineID:Int, susLength:Float, type:Int); - CEvent(step:Float, global:Bool, events:Array); + CEvent(step:Float, events:Array, global:Bool); } typedef NoteSustainChange = {