From c04c672f118b8d5a6f9e2d26578ad2d52ac24d86 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Tue, 2 Jul 2019 14:38:01 +0300 Subject: [PATCH] Fix incorrect intermediate-to-final cache conversion --- gui/builtinGraphs/fitDamageStats.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gui/builtinGraphs/fitDamageStats.py b/gui/builtinGraphs/fitDamageStats.py index dc9cea7ff..c89760783 100644 --- a/gui/builtinGraphs/fitDamageStats.py +++ b/gui/builtinGraphs/fitDamageStats.py @@ -229,11 +229,7 @@ class FitDamageStatsGraph(FitGraph): for time in sorted(changesMap): timeDmgData = copy(timeDmgData) for key in changesMap[time]: - keyDmg = intCache[key][time] - if key in timeDmgData: - timeDmgData[key] = timeDmgData[key] + keyDmg - else: - timeDmgData[key] = keyDmg + timeDmgData[key] = intCache[key][time] finalCache[time] = timeDmgData # We do not need intermediate cache once we have final del timeCache['intermediateDmg']