Remove workaround used for orbital ammo, as it was removed from the game by CCP

This commit is contained in:
DarkPhoenix
2019-04-17 23:57:40 +03:00
parent 603553517e
commit ec77acda1d

View File

@@ -144,13 +144,6 @@ class ChangeModuleAmmo(ContextMenu):
sub = None
self.charges.sort(key=self.turretSorter)
for charge in self.charges:
# fix issue 71 - will probably have to change if CCP adds more Orbital ammo
if "Orbital" in charge.name:
# uncomment if we ever want to include Oribital ammo in ammo picker - see issue #71
# This allows us to hide the ammo, but it's still loadable from the market
# item = self.addCharge(m, charge)
# items.append(item)
continue
currBase = charge.name.rsplit()[-2:]
currRange = charge.getAttribute("weaponRangeMultiplier")
if nameBase is None or range_ != currRange or nameBase != currBase: