Don't undo during restart animation
This commit is contained in:
parent
0912e90510
commit
a7697fa1b2
@ -41,7 +41,7 @@ function state_gameround:update()
|
|||||||
if (btnp(2)) self.board.cursor:move_y(-1)
|
if (btnp(2)) self.board.cursor:move_y(-1)
|
||||||
if (btnp(3)) 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(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
|
if self.board.cursor:grabbed_card() then
|
||||||
self.board.cursor:drop_grab()
|
self.board.cursor:drop_grab()
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user