summaryrefslogtreecommitdiff
path: root/server/server.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/server.lua')
-rw-r--r--server/server.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.lua b/server/server.lua
index a7ee04b..f11b805 100644
--- a/server/server.lua
+++ b/server/server.lua
@@ -67,7 +67,7 @@ local function get_or_gen_chunk(cp)
local ch = map:chunk(cp)
if not ch then
ch = worldgen.gen_chunk(cp)
- map:add_chunk(cp,ch)
+ map:add_chunk(ch)
end
return ch
end