diff --git a/tetris/rulesets/cambridge.lua b/tetris/rulesets/cambridge.lua index 3daed34..0e4081a 100644 --- a/tetris/rulesets/cambridge.lua +++ b/tetris/rulesets/cambridge.lua @@ -375,7 +375,10 @@ end function CRS:attemptWallkicks(piece, new_piece, rot_dir, grid) - if piece.shape == "O" then return end + if piece.shape == "O" then + self:onPieceRotate(piece, grid) + return + end local kicks = CRS.wallkicks[piece.shape][piece:isDropBlocked(grid)][piece.rotation][new_piece.rotation]