Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
Gin committed Nov 19, 2023
1 parent 670dcb2 commit be29b6a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ void ShinyHuntScatterbug::program(SingleSwitchProgramEnvironment& env, BotBaseCo

env.log("Reset game to handle recoverable error");
reset_game(env.program_info(), env.console, context);
stats.m_game_resets++;
++stats.m_game_resets;
}catch(ProgramFinishedException&){
GO_HOME_WHEN_DONE.run_end_of_program(context);
return;
Expand Down Expand Up @@ -368,6 +368,7 @@ void ShinyHuntScatterbug::run_one_sandwich_iteration(SingleSwitchProgramEnvironm
if (!saved_after_this_sandwich){
// Reset game to save rare herbs
reset_game(env.program_info(), env.console, context);
++stats.m_game_resets;
}
}

Expand Down

0 comments on commit be29b6a

Please sign in to comment.