summaryrefslogtreecommitdiff
path: root/server/map.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-02-06 12:19:58 +0000
committerubq323 <ubq323@ubq323.website>2023-02-06 12:19:58 +0000
commit0d86a5cf4b84e03af518d4b8dceb2385672032a8 (patch)
tree30778e8a2b380c6bd943303889d1c5243546a81e /server/map.lua
parent3ad4d4da500a770e4f9cc7aa1bfe42588126a67c (diff)
clientside chunk unloading when not near. also refactor coordinate things slightly
Diffstat (limited to 'server/map.lua')
-rw-r--r--server/map.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/map.lua b/server/map.lua
index 845c644..335997a 100644
--- a/server/map.lua
+++ b/server/map.lua
@@ -1,6 +1,7 @@
local Map = require"common.map".Map
local class = require"common.class"
local worldgen = require"worldgen"
+local json = require"common.dkjson"
local MapS = class.extend(Map)
function MapS.obtain(self,cp)