Skip to content

Commit

Permalink
Remove duplicate notification
Browse files Browse the repository at this point in the history
  • Loading branch information
NympheaR authored Apr 6, 2024
1 parent 472a07d commit 5e7c515
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ void ShinyHuntScatterbug::program(SingleSwitchProgramEnvironment& env, BotBaseCo
send_program_status_notification(env, NOTIFICATION_STATUS_UPDATE);
}catch(ProgramFinishedException&){
GO_HOME_WHEN_DONE.run_end_of_program(context);
send_program_finished_notification(env, NOTIFICATION_PROGRAM_FINISH);
return;
}
}
Expand Down Expand Up @@ -274,7 +273,6 @@ void ShinyHuntScatterbug::handle_battles_and_back_to_pokecenter(SingleSwitchProg
}
}catch (ProgramFinishedException&){
GO_HOME_WHEN_DONE.run_end_of_program(context);
send_program_finished_notification(env, NOTIFICATION_PROGRAM_FINISH);
throw;
}
}
Expand Down

0 comments on commit 5e7c515

Please sign in to comment.