From d8ac32c0b295e760b906205c35aafe90251c1eb8 Mon Sep 17 00:00:00 2001 From: Casey Raethke Date: Thu, 22 Sep 2022 10:39:01 -0500 Subject: [PATCH] Fix DR options being ignored due to missing sumType (Fixes #98) --- RatingBuster.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RatingBuster.lua b/RatingBuster.lua index 03dd9fd..21629d5 100644 --- a/RatingBuster.lua +++ b/RatingBuster.lua @@ -3376,7 +3376,7 @@ function RatingBuster:StatSummary(tooltip, name, link) if tpSupport and ((calcData.name == "TANKPOINTS") or (calcData.name == "TOTALREDUCTION")) and (statDataType == "sum") then entry[statDataType] = nil else - entry[statDataType] = calcData.func(statTable) + entry[statDataType] = calcData.func(statTable, statDataType, link) end end tinsert(summary, entry)