From 81ee73e37348eaae6b1e4a23378d13d129133904 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sat, 11 Feb 2023 00:31:54 +0000 Subject: rework of tick interval, refactor of chunk loading/generation into ChunkS class --- client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/main.lua b/client/main.lua index 43705fe..a544250 100644 --- a/client/main.lua +++ b/client/main.lua @@ -151,7 +151,7 @@ function love.update(dt) local pl = j.pl local_player = {pos=coords.Pos:make(pl.x,pl.y),color=pl.color,id=pl.id} elseif op == "chunk" then - local ch = Chunk.from_packet_data(j) + local ch = Chunk:from_packet_data(j) map:add_chunk(ch) elseif op == "settile" then local h = coords.Hex:make(j.q,j.r) -- cgit v1.2.3