Skip to content

Commit

Permalink
fix tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
GuglioIsStupid committed Apr 22, 2024
1 parent 52af3c2 commit c381057
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 3 additions & 1 deletion src/love/states/weeks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,9 @@ return {
end,

checkSongOver = function(self)
if not (countingDown or graphics.isFading()) and not (inst:isPlaying()) and not paused and not inCutscene then
--if not (countingDown or graphics.isFading()) and not (inst and inst:isPlaying()) and not paused and not inCutscene then
-- use inst, if inst doesn't exist, use voices, else dont use anything
if not (countingDown or graphics.isFading()) and not ((inst and inst:isPlaying()) or (voices and voices:isPlaying())) and not paused and not inCutscene then
if storyMode and song < #weekMeta[weekNum][2] then
self:saveData()
song = song + 1
Expand Down

0 comments on commit c381057

Please sign in to comment.