summaryrefslogtreecommitdiff
path: root/server/server.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/server.lua')
-rw-r--r--server/server.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/server.lua b/server/server.lua
index eda6258..725f7f1 100644
--- a/server/server.lua
+++ b/server/server.lua
@@ -159,8 +159,11 @@ local ntick = 0
local function tick(ntick)
- if ntick % 30 == 0 then
+ if ntick % 3 == 0 then
print("saving things...")
+ for cp,ch in map:iter_chunks() do
+ print(cp)
+ end
end
end