From 179a7d3b47753f5c6282436d8ac6436b7b6c5384 Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Tue, 2 Feb 2021 20:27:51 -0500 Subject: [PATCH] 302 fixed on big pieces, and has proper kicks --- tetris/rulesets/super302.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tetris/rulesets/super302.lua b/tetris/rulesets/super302.lua index 8fbc6af..bba4641 100644 --- a/tetris/rulesets/super302.lua +++ b/tetris/rulesets/super302.lua @@ -16,7 +16,10 @@ BONKERS.colourscheme = { } function BONKERS:attemptWallkicks(piece, new_piece, rot_dir, grid) - if piece.big then return end + local prev_rot = piece.rotation + ARS:attemptWallkicks(piece, new_piece, rot_dir, grid) + if prev_rot ~= piece.rotation then return end + piece.big = false unfilled_block_offsets = {} for y = 4, grid.height - 1 do for x = 0, 9 do