Changed maxRange.py to use new falloff properties
fscking ship scanners...
This commit is contained in:
2
eos
2
eos
Submodule eos updated: 3ebd033bcf...02f52a1ab0
@@ -55,7 +55,7 @@ class MaxRange(ViewColumn):
|
||||
|
||||
def getText(self, stuff):
|
||||
maxRange = stuff.maxRange if hasattr(stuff, "maxRange") else stuff.getModifiedItemAttr("maxRange")
|
||||
falloff = stuff.getModifiedItemAttr("falloff")
|
||||
falloff = stuff.falloff
|
||||
if falloff:
|
||||
falloff = "+%sm" % formatAmount(falloff, 3, 0, 3)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user