From 91a22ac34a3e6dc8536298537796e101424a430c Mon Sep 17 00:00:00 2001 From: ubq323 Date: Tue, 31 Jan 2023 00:30:47 +0000 Subject: terrain data is sent from server to client --- client/drawing.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/drawing.lua') diff --git a/client/drawing.lua b/client/drawing.lua index c8be5fd..962fdb7 100644 --- a/client/drawing.lua +++ b/client/drawing.lua @@ -55,7 +55,7 @@ local function draw_chunk(camera,the_chunk) local maxq = minq+(trh.q-tlh.q)+1 for q = minq,maxq do local h = coords.Hex.make(q,r) - local t = the_chunk:tile_at_offset(h) + local t = the_chunk:at(h) if t then draw_hex(h:to_pos()) end -- cgit v1.2.3