summaryrefslogtreecommitdiff
path: root/server/noise.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/noise.lua')
-rw-r--r--server/noise.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/noise.lua b/server/noise.lua
index 8a83b60..fe254ac 100644
--- a/server/noise.lua
+++ b/server/noise.lua
@@ -25,7 +25,7 @@ end
function PerlinNoise.vertex(self,ix,iy)
local v = self.grid[ix][iy]
if v then return v end
- vv = random_unit_vec()
+ local vv = random_unit_vec()
self.grid[ix][iy] = vv
return vv
end