Fix: z20_or_z21 should be filtered by any ship (#4494)

This commit is contained in:
sui_feng 2025-01-07 11:19:21 +08:00 committed by GitHub
parent ab9f2892dc
commit 9b61faf308
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -282,7 +282,7 @@ class GemsFarming(CampaignRun, FleetEquipment, Dock):
return ships
scanner.set_limitation(fleet=0)
if self.config.GemsFarming_CommonDD in ['any', 'favourite']:
if self.config.GemsFarming_CommonDD in ['any', 'favourite', 'z20_or_z21']:
# Change to any ship
return scanner.scan(self.device.image, output=False)