PPTPRS update to complement SRS update

This commit is contained in:
Ishaan Bhardwaj 2021-02-17 14:49:01 -05:00
parent 8f70ba187c
commit ad047fa68e

View File

@ -102,7 +102,7 @@ function PPTPRS:attemptWallkicks(piece, new_piece, rot_dir, grid)
if grid:canPlacePiece(kicked_piece) then
piece:setRelativeRotation(rot_dir)
piece:setOffset(offset)
self:onPieceRotate(piece, grid)
self:onPieceRotate(piece, grid, offset.y < 0)
return
end
end