Skip to content

Commit

Permalink
Fix incorrect saves in backtrace (#11229)
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanspumpkin committed Apr 5, 2020
1 parent b51eda9 commit 919a703
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/openrct2/rct2/S6Exporter.cpp
Expand Up @@ -196,6 +196,8 @@ void S6Exporter::Export()
_s6.scenario_srand_0 = state.s0;
_s6.scenario_srand_1 = state.s1;

// Map elements must be reorganised prior to saving otherwise save may be invalid
map_reorganise_elements();
ExportTileElements();
ExportSprites();
ExportParkName();
Expand Down

0 comments on commit 919a703

Please sign in to comment.