From cab2d41269645b6c93db72ccd3f03576a4f4960a Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Sun, 4 Aug 2019 00:20:22 +0300 Subject: [PATCH] Fix calculation crash in DPS graph --- graphs/data/fitDamageStats/calc/projected.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphs/data/fitDamageStats/calc/projected.py b/graphs/data/fitDamageStats/calc/projected.py index 3f7821082..501498412 100644 --- a/graphs/data/fitDamageStats/calc/projected.py +++ b/graphs/data/fitDamageStats/calc/projected.py @@ -51,7 +51,7 @@ def getWebbedSpeed(src, tgt, currentUnwebbedSpeed, webMods, webDrones, webFighte mobileWebs = [] mobileWebs.extend(webFighters) # Drones have range limit - if distance is None or distance <= src.extraAttributes['droneControlRange']: + if distance is None or distance <= src.item.extraAttributes['droneControlRange']: mobileWebs.extend(webDrones) atkRadius = src.getRadius() # As mobile webs either follow the target or stick to the attacking ship,