BONKERS has correct rotate reset

pull/4/head
Ishaan Bhardwaj 2021-01-31 16:59:43 -05:00
parent 4c8eb41dd8
commit 1a573c618c
1 changed files with 1 additions and 0 deletions

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