mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 04:24:54 +02:00
Polish interface, pt translations
This commit is contained in:
@@ -196,7 +196,7 @@ function addCreature(creature)
|
||||
local creatureWidget = battleButton:getChildById('creature')
|
||||
local labelWidget = battleButton:getChildById('label')
|
||||
local lifeBarWidget = battleButton:getChildById('lifeBar')
|
||||
battleButton.onHoverChange = onbattleButtonHoverChange
|
||||
battleButton.onHoverChange = onBattleButtonHoverChange
|
||||
battleButton.onMouseRelease = onMouseRelease
|
||||
|
||||
battleButton:setId('BattleButton_' .. creature:getName():gsub('%s','_'))
|
||||
@@ -325,7 +325,7 @@ function setLifeBarPercent(battleButton, percent)
|
||||
lifeBarWidget:setBackgroundColor(color)
|
||||
end
|
||||
|
||||
function onbattleButtonHoverChange(widget, hovered)
|
||||
function onBattleButtonHoverChange(widget, hovered)
|
||||
if widget.isBattleButton then
|
||||
widget.isHovered = hovered
|
||||
checkBattleButton(widget)
|
||||
|
Reference in New Issue
Block a user