almost forgot to commit today
This commit is contained in:
+1
-1
@@ -67,7 +67,7 @@ love.draw = function()
|
||||
for x = 1, map.size do
|
||||
for y = 1, map.size do
|
||||
-- print(x, y) -- TEMP why am I getting an out of bounds?
|
||||
local value = map.terrain[x][y]
|
||||
local value = map.biome[x][y]
|
||||
if value then
|
||||
love.graphics.setColor(value)
|
||||
love.graphics.rectangle("fill", x * map.tile_size, y * map.tile_size, map.tile_size, map.tile_size)
|
||||
|
||||
Reference in New Issue
Block a user