fixed #8 part.2
Cette révision appartient à :
Parent
09c0b23576
révision
2bd6ddb1d2
|
@ -1288,7 +1288,7 @@ function Button:UpdateTextureMacro()
|
|||
end
|
||||
function Button:UpdateTextureBonusAction()
|
||||
local action = self.Widget:GetAttribute("action");
|
||||
if (HasOverrideActionBar() or HasVehicleActionBar()) then
|
||||
if (HasOverrideActionBar()) then
|
||||
local Texture = GetActionTexture(action);
|
||||
if (not Texture) then
|
||||
self.WIcon:SetTexture(Const.ImagesDir.."Bonus"..self.BonusActionId);
|
||||
|
|
Chargement…
Référencer dans un nouveau ticket