diff options
author | ubq323 <ubq323@ubq323.website> | 2023-04-09 12:10:00 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2023-04-09 12:10:00 +0100 |
commit | d74f0d75b214b893e9069a32612dae9c33f4bb52 (patch) | |
tree | ffd22bb82c28ad57e6ef8c27db21086f793bb105 /client/game.lua | |
parent | 6e9a052aa877222a1a494ddcdc5507b5bcc3ea68 (diff) |
misc things
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 |