From a7697fa1b2169d6e462d541b127bccb73acb6026 Mon Sep 17 00:00:00 2001 From: Nyeogmi Date: Tue, 13 Feb 2024 19:15:19 -0800 Subject: [PATCH] Don't undo during restart animation --- state_gameround.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state_gameround.lua b/state_gameround.lua index 3516cc6..00de139 100644 --- a/state_gameround.lua +++ b/state_gameround.lua @@ -41,7 +41,7 @@ function state_gameround:update() if (btnp(2)) self.board.cursor:move_y(-1) if (btnp(3)) self.board.cursor:move_y(1) if (btnp(4)) self.board.cursor:toggle_grab() - if btnp(5) then + if btnp(5) and self.restart_frames < 4 then if self.board.cursor:grabbed_card() then self.board.cursor:drop_grab() else