mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-24 14:19:02 -06:00
Compare commits
No commits in common. "788aa11470c00a6ebf68056f81ab36f91bf6b144" and "a6b8abff6d082ea4f4f9ef7f5354cf616333e47f" have entirely different histories.
788aa11470
...
a6b8abff6d
@ -1 +1 @@
|
|||||||
version = "v0.3.3.2"
|
version = "v0.3.3.1"
|
@ -231,15 +231,12 @@ function Grid:applyBigPiece(piece)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- places where you see this take an argument used the old, buggy method
|
function Grid:checkForBravo(cleared_row_count)
|
||||||
function Grid:checkForBravo()
|
for i = 0, self.height - 1 - cleared_row_count do
|
||||||
for i = 0, self.height - 1 do
|
|
||||||
if not self:isRowFull(i+1) then
|
|
||||||
for j = 0, self.width - 1 do
|
for j = 0, self.width - 1 do
|
||||||
if self:isOccupied(j, i) then return false end
|
if self:isOccupied(j, i) then return false end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user