302 fixed on big pieces, and has proper kicks

pull/4/head
Ishaan Bhardwaj 2021-02-02 20:27:51 -05:00
parent 3a6e12d12e
commit 179a7d3b47
1 changed files with 4 additions and 1 deletions

View File

@ -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