From d4b93ff92103f7062062c87c45b25c597eda89c8 Mon Sep 17 00:00:00 2001 From: Oddity Date: Fri, 3 Aug 2012 01:11:47 -0700 Subject: [PATCH] Fixed a typo map.y should have been map.h. Otherwise the usage example gives an error. --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 5837499..e203a06 100644 --- a/README +++ b/README @@ -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