mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 06:23:26 +02:00
Platform fixes and rework ping
This commit is contained in:
@@ -92,3 +92,8 @@ function createDebugUIItem(id)
|
||||
uiitem:setItemId(id)
|
||||
uiitem:show()
|
||||
end
|
||||
|
||||
function debugPings()
|
||||
g_game.setPingDelay(0)
|
||||
connect(g_game, { onPingBack = function(ping) print(g_game.getWorldName() .. ' => ' .. ping .. ' ms') end })
|
||||
end
|
||||
|
Reference in New Issue
Block a user