mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-11-22 08:19:02 -06:00
KRS hotfix
This commit is contained in:
parent
3fea4c77e5
commit
faf022b7d4
@ -153,7 +153,7 @@ function KRS:attemptWallkicks(piece, new_piece, rot_dir, grid, new_inputs)
|
||||
piece:setRelativeRotation(rot_dir)
|
||||
piece:setOffset({x=priority, y=0})
|
||||
self:onPieceRotate(piece)
|
||||
piece.das_kicked = true
|
||||
piece.das_kicked = priority ~= 0
|
||||
return
|
||||
end
|
||||
|
||||
@ -164,7 +164,7 @@ function KRS:attemptWallkicks(piece, new_piece, rot_dir, grid, new_inputs)
|
||||
piece:setRelativeRotation(rot_dir)
|
||||
piece:setOffset({x=offset[1]+priority, y=offset[2]})
|
||||
self:onPieceRotate(piece)
|
||||
piece.das_kicked = true
|
||||
piece.das_kicked = priority ~= 0
|
||||
return
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user