diff --git a/tasks/base/main_page.py b/tasks/base/main_page.py index caaee409f..bec31aba3 100644 --- a/tasks/base/main_page.py +++ b/tasks/base/main_page.py @@ -48,6 +48,7 @@ class MainPage(ModuleBase): logger.info(f'check_lang_from_map_plane matched lang: {lang}') if lang_unknown or lang != server.lang: self.config.Emulator_GameLanguage = lang + server.set_lang(lang) return lang if lang_unknown: diff --git a/tasks/battle_pass/battle_pass.py b/tasks/battle_pass/battle_pass.py index 4af23f524..4b38a40d4 100644 --- a/tasks/battle_pass/battle_pass.py +++ b/tasks/battle_pass/battle_pass.py @@ -193,7 +193,7 @@ class BattlePassUI(UI): if self.appear(CLOSE_CHOOSE_GIFT): logger.info('Got reward but have gift to choose') break - if self.appear_then_click(REWARDS_CLAIM_ALL): + if self.appear_then_click(REWARDS_CLAIM_ALL, interval=2): continue skip_first_screenshot = True