mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-11-22 12:49:03 -06:00
Realized I can just use the rot_dir variable
This commit is contained in:
parent
dbe31f398f
commit
74fd702711
@ -92,8 +92,7 @@ function TheNext:attemptWallkicks(piece, new_piece, rot_dir, grid)
|
||||
local kicks
|
||||
if piece.shape == "O" then
|
||||
return
|
||||
elseif new_piece.rotation == piece.rotation + 1 or
|
||||
(piece.rotation == 3 and new_piece.rotation == 0) then
|
||||
elseif rot_dir == 1 then
|
||||
kicks = TheNext.wallkicks_cw
|
||||
else
|
||||
kicks = TheNext.wallkicks_ccw
|
||||
|
Loading…
Reference in New Issue
Block a user