summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/drawing2.lua2
-rw-r--r--client/game.lua1
2 files changed, 1 insertions, 2 deletions
diff --git a/client/drawing2.lua b/client/drawing2.lua
index 800df78..5c39a93 100644
--- a/client/drawing2.lua
+++ b/client/drawing2.lua
@@ -126,7 +126,7 @@ local function set_imesh(im)
shape_mesh:attachAttribute("tile_type",im,"perinstance")
end
-local function draw_map(camera,map)
+local function draw_map(camera,map) -- luacheck: no redefined
shader:send("zoom",camera.zoom)
love.graphics.setShader(shader)
diff --git a/client/game.lua b/client/game.lua
index 2c259a6..081bcb7 100644
--- a/client/game.lua
+++ b/client/game.lua
@@ -345,7 +345,6 @@ local function draw()
end
if ui_mode == "chat" then
- local W,H = love.graphics.getDimensions()
chatmsg_text:set("- "..this_chatmsg)
local tw,th = chatmsg_text:getDimensions()
local y = H-th-30