Consider a market group as non-final when it has sub-market groups

This commit is contained in:
DarkPhoenix
2020-11-11 22:37:49 +03:00
parent a692b1fe74
commit 10613c9070

View File

@@ -768,7 +768,7 @@ class Market:
"updated for {1} to display correctly.").format(mg, self.ITEMS_FORCEDMARKETGROUP_R[mg.ID]))
return False
return True
elif len(mg.items) > 0:
elif len(mg.items) > 0 and len(mg.children) == 0:
return True
else:
return False