Catch up to main, and push changes to sfx

This commit is contained in:
MarkGamed7794
2021-09-12 02:59:05 -04:00
parent 0e82a8758c
commit 71ecd51cde
8 changed files with 88 additions and 45 deletions

View File

@@ -100,10 +100,12 @@ function Ruleset:attemptRotate(new_inputs, piece, grid, initial)
if (grid:canPlacePiece(new_piece)) then
piece:setRelativeRotation(rot_dir)
self:onPieceRotate(piece, grid)
playSE("rotate")
else
if not(initial and self.enable_IRS_wallkicks == false) then
self:attemptWallkicks(piece, new_piece, rot_dir, grid)
end
playSE("kick")
end
end