mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 08:39:03 -06:00
Fixed O failing to rotate in CRS
This commit is contained in:
parent
50466c5902
commit
6c201596b0
@ -375,7 +375,10 @@ end
|
||||
|
||||
function CRS:attemptWallkicks(piece, new_piece, rot_dir, grid)
|
||||
|
||||
if piece.shape == "O" then return end
|
||||
if piece.shape == "O" then
|
||||
self:onPieceRotate(piece, grid)
|
||||
return
|
||||
end
|
||||
|
||||
local kicks = CRS.wallkicks[piece.shape][piece:isDropBlocked(grid)][piece.rotation][new_piece.rotation]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user