From da1d42b57875aef659b7afa822ad1df85e2cb932 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Tue, 26 Nov 2024 19:16:44 +0100 Subject: [PATCH] Fix drone sorter for EFT export --- service/port/eft.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/service/port/eft.py b/service/port/eft.py index 68f63609b..dd05d9d26 100644 --- a/service/port/eft.py +++ b/service/port/eft.py @@ -176,7 +176,11 @@ def getDroneName(drone): return drone.item.typeName def droneSorter(drone): - groupName = Market.getInstance().getMarketGroupByItem(drone.item).marketGroupName + if drone.isMutated: + item = drone.baseItem + else: + item = drone.item + groupName = Market.getInstance().getMarketGroupByItem(item).marketGroupName return (DRONE_ORDER.index(groupName), drone.isMutated, drone.fullName) if mutaData is None: