From 430b7ddd8122f8b54e7db31a0d77febe37695b58 Mon Sep 17 00:00:00 2001 From: minenice55 Date: Wed, 8 Jun 2022 23:45:08 -0400 Subject: [PATCH] peabrain moment VERY IMPORTANT FIX --- Assets/Scripts/Conductor.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Assets/Scripts/Conductor.cs b/Assets/Scripts/Conductor.cs index 1acfb49b0..7f60d3cf1 100644 --- a/Assets/Scripts/Conductor.cs +++ b/Assets/Scripts/Conductor.cs @@ -203,6 +203,10 @@ namespace HeavenStudio if (result) { lastReportedBeat += 1f; + if (lastReportedBeat < songPositionInBeats) + { + lastReportedBeat = Mathf.Round(songPositionInBeats); + } } return result; }