OVERSIGHT SPOTTED!!

This commit is contained in:
lunarcleint
2023-01-19 19:48:37 -07:00
parent f410396b47
commit f0d25558c9
2 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -1 +1 @@
2094
2096
+8 -4
View File
@@ -445,6 +445,8 @@ class PlayState extends MusicBeatState
*/
public var hitWindow:Float = Options.hitWindow; // is calculated in create(), is safeFrames in milliseconds
@:noCompletion @:dox(hide) private var _startCountdownCalled:Bool = false;
@:dox(hide)
var __vocalOffsetViolation:Float = 0;
@@ -746,14 +748,16 @@ class PlayState extends MusicBeatState
public function startCountdown():Void
{
if (!_startCountdownCalled) {
_startCountdownCalled = true;
inCutscene = false;
inCutscene = false;
var e = scripts.event("onStartCountdown", new CancellableEvent());
if (e.cancelled) return;
}
generateStrums();
var e = scripts.event("onStartCountdown", new CancellableEvent());
if (e.cancelled) return;
startedCountdown = true;
Conductor.songPosition = 0;
Conductor.songPosition -= Conductor.crochet * introLength;