Skip to content

Commit 52497d1

Browse files
committed
add loading/saving custom displayStats to settings and remove duplicates
1 parent 7138937 commit 52497d1

File tree

3 files changed

+123
-57
lines changed

3 files changed

+123
-57
lines changed

src/Modules/Build.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,6 +1189,9 @@ function buildMode:AddDisplayStatList(statList, actor)
11891189
end
11901190
if statData.warnFunc and statVal and ((statData.condFunc and statData.condFunc(statVal, actor.output)) or not statData.condFunc) then
11911191
local v = statData.warnFunc(statVal, actor.output)
1192+
if v and self.calcsTab.mainEnv.minion == actor then
1193+
v = "Minion "..v
1194+
end
11921195
if v then
11931196
InsertIfNew(self.controls.warnings.lines, v)
11941197
end

0 commit comments

Comments
 (0)