From ad047fa68eac3006feffb68511baf6ed4554bd3d Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Wed, 17 Feb 2021 14:49:01 -0500 Subject: [PATCH] PPTPRS update to complement SRS update --- tetris/rulesets/pptprs.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tetris/rulesets/pptprs.lua b/tetris/rulesets/pptprs.lua index 445b70a..022b3a4 100644 --- a/tetris/rulesets/pptprs.lua +++ b/tetris/rulesets/pptprs.lua @@ -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