From ce4d1a0d61768cd56929b46451ffaab262ec813d Mon Sep 17 00:00:00 2001 From: Ralty <78720179+Raltyro@users.noreply.github.com> Date: Sun, 10 Aug 2025 07:40:57 +0700 Subject: [PATCH] V-Slice should have needsVoices false if no voices --- source/funkin/editors/charter/SongCreationScreen.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/funkin/editors/charter/SongCreationScreen.hx b/source/funkin/editors/charter/SongCreationScreen.hx index 6790b514..95d8a5a5 100644 --- a/source/funkin/editors/charter/SongCreationScreen.hx +++ b/source/funkin/editors/charter/SongCreationScreen.hx @@ -296,7 +296,7 @@ class SongCreationScreen extends UISubstateWindow { if (curPage == 1) { importInstExplorer.selectable = importVoicesExplorer.selectable = !project; - saveButton.selectable = project ? true : (importInstExplorer.file != null); + saveButton.selectable = #if TEST_BUILD true #else project ? true : (importInstExplorer.file != null) #end; } else if (curPage == 2) { importIdTextBox.selectable = !project; importChartFile.fileType = project ? "fnfc" : "json"; @@ -450,7 +450,7 @@ class SongCreationScreen extends UISubstateWindow { var vslicechart:NewSwagSong = Json.parse(files.get('${songId}-chart.json')); var playData = vslicemeta.playData; - var meta:ChartMetaData = formatMeta({name: songId}); + var meta:ChartMetaData = formatMeta({name: songId, needsVoices: files.exists('Voices.${Flags.SOUND_EXT}')}); var diffCharts:Array = [], events:Array = null; VSliceParser.parse(vslicemeta, vslicechart, meta, diffCharts, songId);