Compare commits

..

No commits in common. "788aa11470c00a6ebf68056f81ab36f91bf6b144" and "a6b8abff6d082ea4f4f9ef7f5354cf616333e47f" have entirely different histories.

2 changed files with 6 additions and 9 deletions

View File

@ -1 +1 @@
version = "v0.3.3.2"
version = "v0.3.3.1"

View File

@ -231,15 +231,12 @@ function Grid:applyBigPiece(piece)
end
end
-- places where you see this take an argument used the old, buggy method
function Grid:checkForBravo()
for i = 0, self.height - 1 do
if not self:isRowFull(i+1) then
function Grid:checkForBravo(cleared_row_count)
for i = 0, self.height - 1 - cleared_row_count do
for j = 0, self.width - 1 do
if self:isOccupied(j, i) then return false end
end
end
end
return true
end