This commit is contained in:
Ishaan Bhardwaj
2021-01-30 23:14:14 -05:00
parent 5b0d83b51c
commit 001ec53711
2 changed files with 14 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ BONKERS.colourscheme = {
function BONKERS:attemptWallkicks(piece, new_piece, rot_dir, grid)
unfilled_block_offsets = {}
for y = 4, 23 do
for y = 4, grid.height - 1 do
for x = 0, 9 do
if not grid:isOccupied(x, y) then
table.insert(unfilled_block_offsets, {x=x-100, y=y-100})