From 0d86a5cf4b84e03af518d4b8dceb2385672032a8 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 6 Feb 2023 12:19:58 +0000 Subject: clientside chunk unloading when not near. also refactor coordinate things slightly --- server/noise.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/noise.lua') 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 -- cgit v1.2.3