From d74f0d75b214b893e9069a32612dae9c33f4bb52 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sun, 9 Apr 2023 12:10:00 +0100 Subject: misc things --- client/game.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client/game.lua') diff --git a/client/game.lua b/client/game.lua index aa2e94c..50b74f9 100644 --- a/client/game.lua +++ b/client/game.lua @@ -296,6 +296,8 @@ local function draw() -- selected tile (temp) util.print_good(tostring(selected_tile), "center",10) + local W,H = love.graphics.getDimensions() + if _G.debugmode and local_player then util.print_good(table.concat({ "ms "..tostring(sm), @@ -309,6 +311,8 @@ local function draw() "", "fps "..tostring(love.timer.getFPS()), "ping "..tostring(peer:round_trip_time()), + "", + "res"..W.."x"..H, },"\n"),10,10) end -- cgit v1.2.3