mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-11-22 17:39:02 -06:00
BONKERS has correct rotate reset
This commit is contained in:
parent
4c8eb41dd8
commit
1a573c618c
@ -133,6 +133,7 @@ function BONKERS: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)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user