From 4a293e70ae0aa6e38bf5272206bd42ba34459c3e Mon Sep 17 00:00:00 2001 From: Kyle Humphrey Date: Fri, 25 Mar 2022 17:21:02 -0500 Subject: [PATCH] fix Max Chain not resetting on gameplay restart (f5) --- scripts/gameplay.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/gameplay.lua b/scripts/gameplay.lua index 3a9ae51..aa066de 100644 --- a/scripts/gameplay.lua +++ b/scripts/gameplay.lua @@ -103,6 +103,9 @@ end function update_score(newScore) score = newScore + if (score == 0) then + maxChain = 0; + end end function update_combo(newCombo)