PPTPRS update to complement SRS update

pull/4/head
Ishaan Bhardwaj 2021-02-17 14:49:01 -05:00
parent 8f70ba187c
commit ad047fa68e
1 changed files with 1 additions and 1 deletions

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