From 5d97b58b42680f9ac5237e22f2e5a39322f2dc22 Mon Sep 17 00:00:00 2001 From: lunarcleint <88809950+lunarcleint@users.noreply.github.com> Date: Tue, 22 Aug 2023 15:28:38 -0700 Subject: [PATCH] events dragging fix hopefully --- source/funkin/editors/charter/Charter.hx | 2 +- source/funkin/game/PlayState.hx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/source/funkin/editors/charter/Charter.hx b/source/funkin/editors/charter/Charter.hx index 49461a79..a1c2ae60 100644 --- a/source/funkin/editors/charter/Charter.hx +++ b/source/funkin/editors/charter/Charter.hx @@ -1077,7 +1077,7 @@ class Charter extends UIState { CNote(note.step - minStep, note.id, note.susLength, note.type); } else if (s is CharterEvent) { var event = cast(s,CharterEvent); - CEvent(event.step - minStep, event.events); + CEvent(event.step - minStep, [for (event in event.events) Reflect.copy(event)]); } ]; } diff --git a/source/funkin/game/PlayState.hx b/source/funkin/game/PlayState.hx index 506dcf3b..22b77e1b 100644 --- a/source/funkin/game/PlayState.hx +++ b/source/funkin/game/PlayState.hx @@ -693,7 +693,6 @@ class PlayState extends MusicBeatState health = maxHealth / 2; - iconP1 = new HealthIcon(boyfriend != null ? boyfriend.getIcon() : "face", true); iconP2 = new HealthIcon(dad != null ? dad.getIcon() : "face", false); for(icon in [iconP1, iconP2]) {