From 41743ee1af72aef0e9b0132d3acab0d005b9c99c Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Sat, 13 Feb 2010 14:09:08 -0600 Subject: [PATCH] Fixed ranged dps showing up as 0 when dps was nil --- WeightsWatcher.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WeightsWatcher.lua b/WeightsWatcher.lua index 36d408b..cc7dfcc 100644 --- a/WeightsWatcher.lua +++ b/WeightsWatcher.lua @@ -838,7 +838,7 @@ function WeightsWatcher:getItemStats(link) end end if ranged then - normalStats["Ranged DPS"] = normalStats["DPS"] + normalStats["Ranged DPS"] = rawget(normalStats, "DPS") normalStats["DPS"] = nil end return normalStats, socketList, socketBonusStat -- 1.7.9.5