mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-11-22 17:59:01 -06:00
PPTPRS update to complement SRS update
This commit is contained in:
parent
8f70ba187c
commit
ad047fa68e
@ -102,7 +102,7 @@ function PPTPRS:attemptWallkicks(piece, new_piece, rot_dir, grid)
|
|||||||
if grid:canPlacePiece(kicked_piece) then
|
if grid:canPlacePiece(kicked_piece) then
|
||||||
piece:setRelativeRotation(rot_dir)
|
piece:setRelativeRotation(rot_dir)
|
||||||
piece:setOffset(offset)
|
piece:setOffset(offset)
|
||||||
self:onPieceRotate(piece, grid)
|
self:onPieceRotate(piece, grid, offset.y < 0)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user