mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- reverted r500 because it was causing taint
This commit is contained in:
@ -1183,7 +1183,7 @@ function PlayerHealth.prototype:UpdateBar(scale, color, alpha)
|
||||
if self.healFrame and self.healFrame.bar then
|
||||
self.healFrame.bar:SetVertexColor(self:GetColor("PlayerHealthHealAmount", self.alpha * self.moduleSettings.healAlpha))
|
||||
end
|
||||
|
||||
--[[ seems to be causing taint. oh well
|
||||
if self.frame.button then
|
||||
if self.alpha == 0 then
|
||||
self.frame.button:Hide()
|
||||
@ -1191,6 +1191,7 @@ function PlayerHealth.prototype:UpdateBar(scale, color, alpha)
|
||||
self.frame.button:Show()
|
||||
end
|
||||
end
|
||||
]]
|
||||
end
|
||||
|
||||
-- Load us up
|
||||
|
@ -895,7 +895,7 @@ end
|
||||
|
||||
function IceTargetHealth.prototype:UpdateBar(scale, color, alpha)
|
||||
IceTargetHealth.super.prototype.UpdateBar(self, scale, color, alpha)
|
||||
|
||||
--[[ seems to be causing taint. oh well
|
||||
if self.frame.button then
|
||||
if self.alpha == 0 then
|
||||
self.frame.button:Hide()
|
||||
@ -903,6 +903,7 @@ function IceTargetHealth.prototype:UpdateBar(scale, color, alpha)
|
||||
self.frame.button:Show()
|
||||
end
|
||||
end
|
||||
]]
|
||||
end
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user