Skip to content

Commit

Permalink
Merge pull request #98 from savaughn/release-v0.7.0
Browse files Browse the repository at this point in the history
fixed crash on trade/evolve
  • Loading branch information
savaughn authored Nov 16, 2023
2 parents 5934594 + 42629d6 commit 69a195e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/screens/FileSelectScreen.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ void draw_file_select(struct save_file_data *save_file_data, char *player1_save_
*current_screen = SCREEN_TRADE;
selected_saves_index[0] = -1;
selected_saves_index[1] = -1;
free_trade_saves();
ui_selection = E_UI_NONE;
y_offset = 75;
banner_position_offset = 0;
Expand Down
1 change: 0 additions & 1 deletion src/screens/SingleFileSelectScreen.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ void draw_file_select_single(struct save_file_data *save_file_data, PokemonSave
if (menu_type == SINGLE_PLAYER_MENU_TYPE_EVOLVE && pkmn_save->save_generation_type != SAVE_GENERATION_CORRUPTED)
*current_screen = SCREEN_EVOLVE;

free_evolve_saves();
ui_selection = E_UI_NONE;
y_offset = 75;
banner_position_offset = 0;
Expand Down

0 comments on commit 69a195e

Please sign in to comment.