mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 20:14:54 +02:00
Added new features to the options.
* Added 'enable smart walk' and 'show connection ping' options. * Minor tidy ups.
This commit is contained in:
@@ -36,7 +36,7 @@ PingLabel < Label
|
||||
font: verdana-11px-rounded
|
||||
@onSetup: |
|
||||
self.updateEvent = cycleEvent(function()
|
||||
if g_game.isOnline() then
|
||||
if g_game.isOnline() and Options.getOption('showPing') then
|
||||
local ping = -1
|
||||
if g_game.getFeature(GameClientPing) then
|
||||
ping = g_game.getPing()
|
||||
|
Reference in New Issue
Block a user