summaryrefslogtreecommitdiff
path: root/common/chunk.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-02-06 12:50:21 +0000
committerubq323 <ubq323@ubq323.website>2023-02-06 12:50:21 +0000
commit7952bbc2a606ab22e04112eb2f21a573d0db116e (patch)
tree06d1e456b542ab82efe6a3343756ae3e90cf18e1 /common/chunk.lua
parent911dc535a9930ef5380ecf31fabbd5123461fc3c (diff)
hook up save/loading of chunks
Diffstat (limited to 'common/chunk.lua')
-rw-r--r--common/chunk.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/chunk.lua b/common/chunk.lua
index affdab8..790e5a4 100644
--- a/common/chunk.lua
+++ b/common/chunk.lua
@@ -39,6 +39,7 @@ function Chunk.from_packet_data(packet)
-- since otherwise how would we know it's a chunk packet
local cp = coords.ChunkPos:make(packet.u,packet.v)
+ print("making from packet",packet.u,packet.v)
return Chunk:make(cp,packet.tiles)
end