Fix build

This commit is contained in:
EliteMasterEric 2024-03-06 12:29:54 -05:00
parent 7a9bff248e
commit 2fa1d18dce
2 changed files with 2 additions and 2 deletions

View file

@ -4532,7 +4532,7 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
else else
{ {
// Create a note and place it in the chart. // 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)); performCommand(new AddNotesCommand([newNoteData], FlxG.keys.pressed.CONTROL));

View file

@ -9,7 +9,7 @@ class DynamicAccessTools
* @param input The `Dynamic` to clone. * @param input The `Dynamic` to clone.
* @return A clone of the input `Dynamic`. * @return A clone of the input `Dynamic`.
*/ */
public static function clone(input:DynamicAccess<T>):DynamicAccess<T> public static function clone<T>(input:DynamicAccess<T>):DynamicAccess<T>
{ {
return Reflect.copy(input); return Reflect.copy(input);
} }