BONKERS has correct rotate reset

This commit is contained in:
Ishaan Bhardwaj 2021-01-31 16:59:43 -05:00
parent 4c8eb41dd8
commit 1a573c618c

View File

@ -133,6 +133,7 @@ function BONKERS:attemptWallkicks(piece, new_piece, rot_dir, grid)
if grid:canPlacePiece(kicked_piece) then
piece:setRelativeRotation(rot_dir)
piece:setOffset(offset)
self:onPieceRotate(piece, grid)
return
end
end