Add mining waste readout to the misc column, and fix more issues related to the attribute fetching change

This commit is contained in:
DarkPhoenix
2021-11-26 21:27:47 +03:00
parent a9ef5caf2d
commit ca356b413b
3 changed files with 22 additions and 11 deletions

View File

@@ -372,8 +372,8 @@ class Module(HandledItem, HandledCharge, ItemAttrShortcut, ChargeAttrShortcut, M
def falloff(self):
attrs = ("falloffEffectiveness", "falloff", "shipScanFalloff")
for attr in attrs:
falloff = self.getModifiedItemAttr(attr, None)
if falloff is not None:
falloff = self.getModifiedItemAttr(attr)
if falloff:
return falloff
@property