This commit is contained in:
EliteMasterEric 2023-06-09 15:32:44 -04:00
parent 038d258233
commit 6f846751c7

View file

@ -374,11 +374,11 @@ class ChartEditorToolboxHandler
var difficultyToolboxLoadChart:Button = toolbox.findComponent('difficultyToolboxLoadChart', Button); var difficultyToolboxLoadChart:Button = toolbox.findComponent('difficultyToolboxLoadChart', Button);
difficultyToolboxSaveMetadata.onClick = function(event:UIEvent) { difficultyToolboxSaveMetadata.onClick = function(event:UIEvent) {
SongSerializer.exportSongMetadata(state.currentSongMetadata, state); SongSerializer.exportSongMetadata(state.currentSongMetadata, state.currentSongId);
}; };
difficultyToolboxSaveChart.onClick = function(event:UIEvent) { difficultyToolboxSaveChart.onClick = function(event:UIEvent) {
SongSerializer.exportSongChartData(state.currentSongChartData, state); SongSerializer.exportSongChartData(state.currentSongChartData, state.currentSongId);
}; };
difficultyToolboxSaveAll.onClick = function(event:UIEvent) { difficultyToolboxSaveAll.onClick = function(event:UIEvent) {