From 3a3c8640373b98b9b2e7d0a2ac02b11978cd32d7 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 18 Jul 2021 14:09:09 +0200 Subject: [PATCH] feat(choregraphy): test latest qte by default --- .../controllers/fighters/systems/choregraphy/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/sonic-radiance.love/scenes/battlesystem/controllers/fighters/systems/choregraphy/init.lua b/sonic-radiance.love/scenes/battlesystem/controllers/fighters/systems/choregraphy/init.lua index 6c01d48..acacedb 100644 --- a/sonic-radiance.love/scenes/battlesystem/controllers/fighters/systems/choregraphy/init.lua +++ b/sonic-radiance.love/scenes/battlesystem/controllers/fighters/systems/choregraphy/init.lua @@ -108,6 +108,7 @@ function ChoregraphySystem:addQTE(action, origin, qteBaseData, blockProcess, tag end function ChoregraphySystem:isQteSuccess(qteID) + qteID = qteID or #self.qte.list return self.qte.list[qteID] end