Fixed energy ticker showing up in 7.1

Looks like the ancient predictedPower cvar was finally killed in 7.1, so the ticker was showing back up.
This commit is contained in:
Parnic
2016-10-25 20:16:57 -05:00
parent 55a376b959
commit a3bd338ff6

View File

@ -174,7 +174,7 @@ function PlayerMana.prototype:CheckVehicle()
end
function PlayerMana.prototype:ShouldUseTicker()
return IceHUD.WowVer < 30000 or not GetCVarBool("predictedPower")
return IceHUD.WowVer < 30000 or (IceHUD.WowVer < 70100 and not GetCVarBool("predictedPower"))
end
function PlayerMana.prototype:SetupOnUpdate(enable)