build script fixin

This commit is contained in:
Cameron Taylor 2020-10-08 17:54:47 -07:00
parent 0062631472
commit 7d925ae0ec
2 changed files with 5 additions and 2 deletions

View File

@ -6,6 +6,6 @@ echo BUILDING GAME
lime build windows -final
echo UPLOADING TO ITCH
butler push ./export/release/windows/bin ninja-muffin24/friday-night-funkin:windows
butler status ninja-muffin24/ld47:windows
butler status ninja-muffin24/friday-night-funkin:windows
echo ITCH SHIT UPDATED LMAOOOOO
pause

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)
{