fix Max Chain not resetting on gameplay restart (f5)

This commit is contained in:
Kyle Humphrey 2022-03-25 17:21:02 -05:00
parent c3e4eff904
commit 4a293e70ae
1 changed files with 3 additions and 0 deletions

View File

@ -103,6 +103,9 @@ end
function update_score(newScore) function update_score(newScore)
score = newScore score = newScore
if (score == 0) then
maxChain = 0;
end
end end
function update_combo(newCombo) function update_combo(newCombo)