From 3bf7955ffad4b32436f340eb18798b420f7ad461 Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Mon, 3 Jul 2023 13:16:02 -0400 Subject: [PATCH] Conductor fix --- source/funkin/ui/debug/charting/ChartEditorState.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/ui/debug/charting/ChartEditorState.hx b/source/funkin/ui/debug/charting/ChartEditorState.hx index 0c0f31d06..f5a87ceb1 100644 --- a/source/funkin/ui/debug/charting/ChartEditorState.hx +++ b/source/funkin/ui/debug/charting/ChartEditorState.hx @@ -3119,7 +3119,7 @@ class ChartEditorState extends HaxeUIState var playheadPos:Float = scrollPositionInPixels + playheadPositionInPixels; var playheadPosFractionalStep:Float = playheadPos / GRID_SIZE / (16 / noteSnapQuant); var playheadPosStep:Int = Std.int(Math.floor(playheadPosFractionalStep)); - var playheadPosMs:Float = playheadPosStep * Conductor.stepCrochet * (16 / noteSnapQuant); + var playheadPosMs:Float = playheadPosStep * Conductor.stepLengthMs * (16 / noteSnapQuant); var newNoteData:SongNoteData = new SongNoteData(playheadPosMs, column, 0, selectedNoteKind); performCommand(new AddNotesCommand([newNoteData], FlxG.keys.pressed.CONTROL));