Skip to content

Commit

Permalink
removed ipairs from 1b
Browse files Browse the repository at this point in the history
  • Loading branch information
kikito committed Dec 22, 2010
1 parent ea1595c commit 85af7d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
File renamed without changes
Expand Up @@ -41,10 +41,10 @@ end

function love.draw()

local quad

for y,row in ipairs(TileTable) do
for x,number in ipairs(row) do
for y=1, #TileTable do
local row = TileTable[y]
for x=1, #row do
local number = row[x]
love.graphics.drawq(Tileset, Quads[number], (x-1)*TileW, (y-1)*TileH)
end
end
Expand Down

0 comments on commit 85af7d9

Please sign in to comment.