From 44aed364b70daab42217dce9331a829a91d5c72c Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Sat, 25 Aug 2018 16:21:28 +0300 Subject: [PATCH] Fix oversight which broke dronebay/fighterbay/cargo detection --- service/eftPort.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/service/eftPort.py b/service/eftPort.py index 028e7e274..7c3df50e3 100644 --- a/service/eftPort.py +++ b/service/eftPort.py @@ -438,6 +438,7 @@ class EftPort: else: itemSpec.amount = int(m.group('amount')) section.itemSpecs.append(itemSpec) + continue # All other items m = re.match(modulePattern, line) if m: @@ -452,6 +453,7 @@ class EftPort: if m.group('mutation'): itemSpec.mutationIdx = int(m.group('mutation')) section.itemSpecs.append(itemSpec) + continue clearTail(section.itemSpecs) sections.append(section) @@ -524,6 +526,7 @@ class EftPort: fit.fighters.append(fighter) for cargo in aFit.cargo.values(): fit.cargo.append(cargo) + return fit @staticmethod