summaryrefslogtreecommitdiff
path: root/client/drawing.lua
diff options
context:
space:
mode:
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