Skip to content

Commit 3862995

Browse files
committed
fix auto needsVoices
1 parent f7e4875 commit 3862995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/funkin/editors/charter/SongCreationScreen.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ class SongCreationScreen extends UISubstateWindow {
451451
var vslicechart:NewSwagSong = Json.parse(files.get('${songId}-chart.json'));
452452
var playData = vslicemeta.playData;
453453

454-
var meta:ChartMetaData = formatMeta({name: songId, needsVoices: files.exists('Voices.${Flags.SOUND_EXT}')});
454+
var meta:ChartMetaData = formatMeta({name: songId, needsVoices: files.get('Voices.${Flags.SOUND_EXT}') != null});
455455
var diffCharts:Array<ChartDataWithInfo> = [], events:Array<ChartEvent> = null;
456456
VSliceParser.parse(vslicemeta, vslicechart, meta, diffCharts, songId);
457457

0 commit comments

Comments
 (0)