File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
source/funkin/ui/debug/charting Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1282,7 +1282,7 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
12821282 for (x in availableVariations )
12831283 {
12841284 var m : Null <SongMetadata > = songMetadata .get (x );
1285- m ?. playData ?. difficulties ?? [];
1285+ [ for ( diff in ( m ?. playData ?. difficulties ?? [])) ' $ diff - $ x ' ];
12861286 }
12871287 ];
12881288 return result .flatten ();
@@ -5289,7 +5289,7 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
52895289 if (playbarSongRemaining .value != songRemainingString ) playbarSongRemaining .value = songRemainingString ;
52905290
52915291 playbarNoteSnap .text = ' 1/ ${noteSnapQuant }' ;
5292- playbarDifficulty .text = ' ${selectedDifficulty .toTitleCase ()}' ;
5292+ playbarDifficulty .text = ' ${selectedDifficulty .toTitleCase ()} ( ${ selectedVariation . toTitleCase ()} ) ' ;
52935293 playbarBPM .text = ' BPM: ${(Conductor .instance .bpm ?? 0.0 )}' ;
52945294 }
52955295
@@ -6163,8 +6163,9 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
61636163
61646164 function incrementDifficulty (change : Int ): Void
61656165 {
6166+ var variatedDifficulty : String = ' $selectedDifficulty - $selectedVariation ' ;
61666167 var currentDifficultyIndex : Int = availableDifficulties .indexOf (selectedDifficulty );
6167- var currentAllDifficultyIndex : Int = allDifficulties .indexOf (selectedDifficulty );
6168+ var currentAllDifficultyIndex : Int = allDifficulties .indexOf (variatedDifficulty );
61686169
61696170 if (currentDifficultyIndex == - 1 || currentAllDifficultyIndex == - 1 )
61706171 {
You can’t perform that action at this time.
0 commit comments