Fixed a typo

map.y should have been map.h. Otherwise the usage example gives an error.
This commit is contained in:
Oddity 2012-08-03 01:11:47 -07:00
parent 8690916fe8
commit d4b93ff921

2
README
View File

@ -18,7 +18,7 @@ map = heightmap.create(32, 32)
-- examine each height value
for x = 0, map.w do
for y = 0, map.y do
for y = 0, map.h do
print(map[x][y])
end
end