From 8d81db0a3a2868311bd03960ac6f118d0f3daac6 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Wed, 9 Oct 2019 13:13:40 +0300 Subject: [PATCH] Change what kind of strength is displayed for probe launchers --- gui/builtinViewColumns/misc.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gui/builtinViewColumns/misc.py b/gui/builtinViewColumns/misc.py index 083df889d..d7952d6be 100644 --- a/gui/builtinViewColumns/misc.py +++ b/gui/builtinViewColumns/misc.py @@ -689,9 +689,8 @@ class Miscellanea(ViewColumn): baseRange = stuff.getModifiedChargeAttr("baseScanRange") if not scanStr or not baseRange: return "", None - strTwoAu = scanStr / (2.0 / baseRange) - text = "{0}".format(formatAmount(strTwoAu, 3, 0, 3)) - tooltip = "Scan strength with 2 AU scan range" + text = "{}".format(formatAmount(scanStr, 4, 0, 3)) + tooltip = "Scan strength at {} AU scan range".format(formatAmount(baseRange, 3, 0, 0)) return text, tooltip else: return "", None