mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
minor fixes
* change chase mode while walking and attacking * avoid lua errors in frame counter when starting
This commit is contained in:
@@ -81,5 +81,8 @@ TopPanel
|
||||
margin-right: 5
|
||||
@onSetup: |
|
||||
cycleEvent(function()
|
||||
rootWidget:recursiveGetChildById('frameCounter'):setText('FPS: ' .. g_app.getBackgroundPaneFps())
|
||||
local frameCounter = rootWidget:recursiveGetChildById('frameCounter')
|
||||
if frameCounter then
|
||||
frameCounter:setText('FPS: ' .. g_app.getBackgroundPaneFps())
|
||||
end
|
||||
end, 250)
|
||||
|
Reference in New Issue
Block a user