Skip to content

Commit

Permalink
Updated save game function to remove shop data from the global values…
Browse files Browse the repository at this point in the history
… array before updating database

It's saved in its own dedicated table now
  • Loading branch information
AdrianMarceau committed Dec 3, 2017
1 parent 74d7740 commit f6f012f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions functions/game_save-game-session.php
Expand Up @@ -229,6 +229,7 @@ function mmrpg_save_game_session(){
$this_save_array['save_values']['battle_abilities'],
$this_save_array['save_values']['battle_items'],
$this_save_array['save_values']['battle_stars'],
$this_save_array['save_values']['battle_shops'],
$this_save_array['save_values']['robot_database'],
$this_save_array['save_values']['robot_alts']
);
Expand Down Expand Up @@ -406,6 +407,7 @@ function mmrpg_save_game_session(){
$this_save_array['save_values']['battle_abilities'],
$this_save_array['save_values']['battle_items'],
$this_save_array['save_values']['battle_stars'],
$this_save_array['save_values']['battle_shops'],
$this_save_array['save_values']['robot_database'],
$this_save_array['save_values']['robot_alts']
);
Expand Down

0 comments on commit f6f012f

Please sign in to comment.