Skip to content

Commit

Permalink
Fix drone sorter for EFT export
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkFenX committed Nov 26, 2024
1 parent 502e5a8 commit da1d42b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion service/port/eft.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit da1d42b

Please sign in to comment.