From 3cd23de7cc04afa04f48c6a49651524b7940c963 Mon Sep 17 00:00:00 2001 From: JabLuszko Date: Sat, 2 Sep 2023 20:09:34 +0200 Subject: [PATCH] Update screenPath.py --- mapadroid/ocr/screenPath.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mapadroid/ocr/screenPath.py b/mapadroid/ocr/screenPath.py index c12de744f..043121286 100644 --- a/mapadroid/ocr/screenPath.py +++ b/mapadroid/ocr/screenPath.py @@ -267,6 +267,8 @@ async def __handle_screentype(self, screentype: ScreenType, if MadGlobals.application_args.enable_early_maintenance_detection and self._worker_state.maintenance_early_detection_triggered: logger.warning("Seen RETRY screen after multiple proto timeouts - most likely MAINTENANCE") await self._account_handler.mark_burnt(self._worker_state.device_id, BurnType.MAINTENANCE) + # forcing clear_game_data here due to Niantic changes and game now remembering/pre-filling username on login + await self.clear_game_data() await self.__handle_retry_screen(diff, global_dict) elif screentype == ScreenType.WRONG: await self.__handle_returning_player_or_wrong_credentials()