summaryrefslogtreecommitdiff
path: root/client/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'client/main.lua')
-rw-r--r--client/main.lua2
1 files changed, 1 insertions, 1 deletions
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)