From 2fa1d18dce85a6127148406d5f6822279e48bfc6 Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Wed, 6 Mar 2024 12:29:54 -0500 Subject: [PATCH] Fix build --- source/funkin/ui/debug/charting/ChartEditorState.hx | 2 +- source/funkin/util/tools/DynamicAccessTools.hx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/funkin/ui/debug/charting/ChartEditorState.hx b/source/funkin/ui/debug/charting/ChartEditorState.hx index 78e73bf27..191f3cb15 100644 --- a/source/funkin/ui/debug/charting/ChartEditorState.hx +++ b/source/funkin/ui/debug/charting/ChartEditorState.hx @@ -4532,7 +4532,7 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState else { // Create a note and place it in the chart. - var newNoteData:SongNoteData = new SongNoteData(cursorSnappedMs, cursorColumn, 0, noteKindToPlace.clone()); + var newNoteData:SongNoteData = new SongNoteData(cursorSnappedMs, cursorColumn, 0, noteKindToPlace); performCommand(new AddNotesCommand([newNoteData], FlxG.keys.pressed.CONTROL)); diff --git a/source/funkin/util/tools/DynamicAccessTools.hx b/source/funkin/util/tools/DynamicAccessTools.hx index 1c83ce039..14b9a6c68 100644 --- a/source/funkin/util/tools/DynamicAccessTools.hx +++ b/source/funkin/util/tools/DynamicAccessTools.hx @@ -9,7 +9,7 @@ class DynamicAccessTools * @param input The `Dynamic` to clone. * @return A clone of the input `Dynamic`. */ - public static function clone(input:DynamicAccess):DynamicAccess + public static function clone(input:DynamicAccess):DynamicAccess { return Reflect.copy(input); }