Update Conductor.hx

This commit is contained in:
Ralty
2025-07-05 19:06:48 +07:00
parent e2ff493bdf
commit bdfb1d31b4
+1 -1
View File
@@ -83,7 +83,7 @@ final class Conductor
*/
public static var bpm(get, never):Float;
private static function get_bpm()
return curChangeIndex == 0 ? startingBPM : getTimeWithIndexInBPM(songPosition, curChangeIndex);
return (curChangeIndex == 0 || bpmChange.length == 0) ? startingBPM : getTimeWithIndexInBPM(songPosition, curChangeIndex);
/**
* Starting BPM