KRS hotfix

pull/4/head
Ishaan Bhardwaj 2021-04-27 08:37:57 -04:00
parent 3fea4c77e5
commit faf022b7d4
1 changed files with 2 additions and 2 deletions

View File

@ -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