Skip to content

Commit

Permalink
Set SaveSystem screen to file when saving
Browse files Browse the repository at this point in the history
* Matches RPG_RT behavior.
  • Loading branch information
mateofio committed Nov 5, 2018
1 parent bf85cb5 commit eee93f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scene_save.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ void Scene_Save::Action(int index) {

LSD_Reader::PrepareSave(Main_Data::game_data);
auto data_copy = LSD_Reader::ClearDefaults(Main_Data::game_data, Game_Map::GetMapInfo(), Game_Map::GetMap());
// RPG_RT saves always have the scene set to this.
data_copy.system.scene = RPG::SaveSystem::Scene_file;
LSD_Reader::Save(filename, data_copy, Player::encoding);

#ifdef EMSCRIPTEN
Expand Down

0 comments on commit eee93f1

Please sign in to comment.