Skip to content

Commit

Permalink
Update screenPath.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JabLuszko authored Sep 2, 2023
1 parent 1799d0e commit 3cd23de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mapadroid/ocr/screenPath.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3cd23de

Please sign in to comment.