From 1810f86b587179e90c23b2d03414c5ecd7fb033a Mon Sep 17 00:00:00 2001 From: Frakist <90983918+Frakist@users.noreply.github.com> Date: Thu, 1 Feb 2024 17:28:29 +0200 Subject: [PATCH] completed chart saving (i think --- source/funkin/editors/charter/ChartCreationScreen.hx | 2 +- source/funkin/editors/charter/CharterSelection.hx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/source/funkin/editors/charter/ChartCreationScreen.hx b/source/funkin/editors/charter/ChartCreationScreen.hx index 70c29fa9..11c4b51d 100644 --- a/source/funkin/editors/charter/ChartCreationScreen.hx +++ b/source/funkin/editors/charter/ChartCreationScreen.hx @@ -122,7 +122,7 @@ class ChartCreationScreen extends UISubstateWindow { characters: [for (charb in strline.charactersList.buttons.members) charb.textBox.label.text], type: strline.typeDropdown.index, notes: [], - position: strline.stagePositionDropdown.label.text, + position: strline.stagePositionDropdown.label.text.toLowerCase(), visible: strline.visibleCheckbox.checked, strumPos: [0, strline.hudYStepper.value], strumLinePos: strline.hudXStepper.value, diff --git a/source/funkin/editors/charter/CharterSelection.hx b/source/funkin/editors/charter/CharterSelection.hx index d6852e17..6108d9e0 100644 --- a/source/funkin/editors/charter/CharterSelection.hx +++ b/source/funkin/editors/charter/CharterSelection.hx @@ -160,7 +160,6 @@ class CharterSelection extends EditorTreeMenu { // Add to Meta var meta = Json.parse(sys.io.File.getContent('$songFolder/meta.json')); - trace(meta); if (meta.difficulties != null && !meta.difficulties.contains(creation.name)) { meta.difficulties.push(creation.name); sys.io.File.saveContent('$songFolder/meta.json', Json.stringify(meta));