mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 04:53:27 +02:00
Only show ping when available
This commit is contained in:
@@ -68,7 +68,7 @@ end
|
||||
function online()
|
||||
showGameButtons()
|
||||
|
||||
if modules.client_options.getOption('showFps') then
|
||||
if modules.client_options.getOption('showFps') and (g_game.getFeature(GameClientPing) or g_game.getFeature(GameExtendedClientPing)) then
|
||||
pingLabel:show()
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user