diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/drawing.lua | 1 | ||||
-rw-r--r-- | client/main.lua | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/client/drawing.lua b/client/drawing.lua index e3dc751..e7cb45e 100644 --- a/client/drawing.lua +++ b/client/drawing.lua @@ -91,6 +91,7 @@ local function draw_map(camera,map) draw_hex(_p,colors[t],camera.zoom) end end + love.graphics.flushBatch() end if false and _G.debugmode then diff --git a/client/main.lua b/client/main.lua index 6692e13..27b93f9 100644 --- a/client/main.lua +++ b/client/main.lua @@ -208,6 +208,7 @@ function love.draw() "voob "..tostring(camera.zoom), "-", "fps "..tostring(love.timer.getFPS()), + "ping "..tostring(peer:round_trip_time()) },10,10) end |