From be812cd2ecdddb4d18010bf7caa3748889d6dc18 Mon Sep 17 00:00:00 2001 From: Ralty <78720179+Raltyro@users.noreply.github.com> Date: Wed, 6 Aug 2025 02:26:29 +0700 Subject: [PATCH] Fix unstacked chart events --- source/funkin/editors/charter/Charter.hx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source/funkin/editors/charter/Charter.hx b/source/funkin/editors/charter/Charter.hx index 10773d51..3bc20545 100644 --- a/source/funkin/editors/charter/Charter.hx +++ b/source/funkin/editors/charter/Charter.hx @@ -648,7 +648,14 @@ class Charter extends UIState { if (lastEvents != null && lastTime == e.time) lastEvents.events.push(e); else { lastEvents = new CharterEvent(Conductor.getStepForTime(lastTime = e.time), [e], e.global); - (e.global ? rightEventsGroup : leftEventsGroup).add(lastEvents); + if (e.global) { + rightEventsGroup.add(lastEvents); + lastRightEvents = lastEvents; + } + else { + leftEventsGroup.add(lastEvents); + lastLeftEvents = lastEvents; + } } }