diff options
Diffstat (limited to 'client/game.lua')
-rw-r--r-- | client/game.lua | 4 |
1 files changed, 4 insertions, 0 deletions
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 |