summaryrefslogtreecommitdiff
path: root/client/drawing.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-01-31 00:30:47 +0000
committerubq323 <ubq323@ubq323.website>2023-01-31 00:30:47 +0000
commit91a22ac34a3e6dc8536298537796e101424a430c (patch)
tree2bcdd770d695ff0a3fef8ba33590029754e4cc3f /client/drawing.lua
parentb851e37a5a44e2c6a022f1c87c3d2da494ccb0e6 (diff)
terrain data is sent from server to client
Diffstat (limited to 'client/drawing.lua')
-rw-r--r--client/drawing.lua2
1 files changed, 1 insertions, 1 deletions
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