mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-23 08:07:54 -05:00
Fix build
This commit is contained in:
parent
7a9bff248e
commit
2fa1d18dce
2 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue