From 88655f0689adb76e709cd1aa6a301b7f9b58084c Mon Sep 17 00:00:00 2001 From: Parnic Date: Thu, 18 Sep 2014 23:05:51 -0500 Subject: [PATCH] - 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. --- modules/Threat.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Threat.lua b/modules/Threat.lua index 4ee8b2c..218c9ed 100644 --- a/modules/Threat.lua +++ b/modules/Threat.lua @@ -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