Uses the new maxTargetRange property

Caps lock range at 250km
This commit is contained in:
Corollax
2010-11-10 02:59:08 -06:00
parent b48227c05f
commit 11a7c28e31
2 changed files with 2 additions and 2 deletions

2
eos

Submodule eos updated: 66d215ab1a...296e9159b6

View File

@@ -98,7 +98,7 @@ class TargetingMiscViewFull(StatsView):
#If we did anything intresting, we'd update our labels to reflect the new fit's stats here
stats = (("labelTargets", lambda: fit.maxTargets, 3, 0, 0, ""),
("labelRange", lambda: fit.ship.getModifiedItemAttr('maxTargetRange') / 1000, 3, 0, 0, "km"),
("labelRange", lambda: fit.maxTargetRange / 1000, 3, 0, 0, "km"),
("labelScanRes", lambda: fit.ship.getModifiedItemAttr('scanResolution'), 3, 0, 0, "mm"),
("labelSensorStr", lambda: fit.scanStrength, 3, 0, 0, ""),
("labelCtrlRange", lambda: fit.extraAttributes["droneControlRange"] / 1000, 3, 0, 0, "km"),