From 6f846751c7f22f98ddc9a0cc813f8e9c7bd7b929 Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Fri, 9 Jun 2023 15:32:44 -0400 Subject: [PATCH] Typo fix --- source/funkin/ui/debug/charting/ChartEditorToolboxHandler.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/funkin/ui/debug/charting/ChartEditorToolboxHandler.hx b/source/funkin/ui/debug/charting/ChartEditorToolboxHandler.hx index 6784b9cfc..5cace2ff6 100644 --- a/source/funkin/ui/debug/charting/ChartEditorToolboxHandler.hx +++ b/source/funkin/ui/debug/charting/ChartEditorToolboxHandler.hx @@ -374,11 +374,11 @@ class ChartEditorToolboxHandler var difficultyToolboxLoadChart:Button = toolbox.findComponent('difficultyToolboxLoadChart', Button); difficultyToolboxSaveMetadata.onClick = function(event:UIEvent) { - SongSerializer.exportSongMetadata(state.currentSongMetadata, state); + SongSerializer.exportSongMetadata(state.currentSongMetadata, state.currentSongId); }; difficultyToolboxSaveChart.onClick = function(event:UIEvent) { - SongSerializer.exportSongChartData(state.currentSongChartData, state); + SongSerializer.exportSongChartData(state.currentSongChartData, state.currentSongId); }; difficultyToolboxSaveAll.onClick = function(event:UIEvent) {