Skip to content

Commit 72d76b8

Browse files
committed
dont strip display stat on fully custom display stats
1 parent c3418d5 commit 72d76b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Modules/BuildDisplayStats.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,18 +287,18 @@ if settingsStatList then
287287
end
288288
end
289289
if stat.extraSaveStat then
290-
stat.extraSaveStat = nil
290+
stat.extraSaveStat = (not found) and stat.extraSaveStat or nil
291291
if not (stat.displayStat or stat.minionDisplayStat) then
292292
t_insert(extraSaveStats, stat.stat)
293293
end
294294
end
295295
if stat.displayStat then
296-
stat.displayStat = nil
296+
stat.displayStat = (not found) and stat.displayStat or nil
297297
t_insert(displayStats, stat)
298298
statCount = statCount + 1
299299
end
300300
if stat.minionDisplayStat then
301-
stat.minionDisplayStat = nil
301+
stat.minionDisplayStat = (not found) and stat.minionDisplayStat or nil
302302
t_insert(minionDisplayStats, stat)
303303
end
304304
end

0 commit comments

Comments
 (0)