build script fixin

This commit is contained in:
Cameron Taylor committed 2020-10-08 17:54:47 -07:00
1 parent 0062631472
commit 7d925ae0ec
2 files changed
+5 -2

No files matched your search

+4 -1
View File
@@ -415,7 +415,10 @@ class PlayState extends FlxTransitionableState
}
else
Conductor.songPosition = FlxG.sound.music.time;
var playerTurn:Int = totalBeats % (sectionLengths[curSection] * 8);
var playerTurn:Int = 0;
if (sectionLengths.length > curSection)
playerTurn = totalBeats % (sectionLengths[curSection] * 8);
if (playerTurn == (sectionLengths[curSection] * 8) - 1 && !sectionScored)
{