- Fixed trying to print non-strings as strings in WoD beta. I guess the interpreter has changed a bit and some types are no longer implicitly casted. At least not for now.

This commit is contained in:
Parnic
2014-09-18 23:05:51 -05:00
parent f4b5ae8ea1
commit 88655f0689

View File

@ -340,7 +340,7 @@ threatValue = 100
scaledPercentZeroToOne = rawPercent / 100
end
IceHUD:Debug( "isTanking="..(isTanking or "nil").." threatState="..(threatState or "nil").." scaledPercent="..(scaledPercent or "nil").." rawPercent="..(rawPercent or "nil").." threatValue="..(threatValue or "nil").." secondhighest="..(secondHighestThreat or "nil"))
IceHUD:Debug( "isTanking="..(tostring(isTanking) or "nil").." threatState="..(tostring(threatState) or "nil").." scaledPercent="..(tostring(scaledPercent) or "nil").." rawPercent="..(tostring(rawPercent) or "nil").." threatValue="..(tostring(threatValue) or "nil").." secondhighest="..(tostring(secondHighestThreat) or "nil"))
end
-- set percentage text