1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 00:28:20 +08:00

Upd: Default research and commission filter

- Allow both hakuryu and hakuryuu in research
This commit is contained in:
LmeSzinc
2021-10-25 17:48:01 +08:00
parent 41325a4258
commit 10fc4a7ba8
8 changed files with 30 additions and 13 deletions

View File

@@ -576,6 +576,9 @@ class ResearchSelector(UI):
preset = 'series_4'
string = DICT_FILTER_PRESET[preset]
# Filter uses `hakuryu`, but allows both `hakuryu` and `hakuryuu`
string = string.lower().replace('hakuryuu', 'hakuryu')
FILTER.load(string)
priority = FILTER.apply(self.projects, func=self._research_check)