1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 12:03:07 +01:00

fix crash, just always reset loaded objects

This commit is contained in:
Ted John
2016-05-08 16:48:42 +01:00
parent 09fab986ed
commit bc7d1343da

View File

@@ -320,11 +320,7 @@ extern "C"
}
delete s6exporter;
if (flags & S6_SAVE_FLAG_EXPORT)
{
reset_loaded_objects();
}
reset_loaded_objects();
gfx_invalidate_screen();
if (result && !(flags & S6_SAVE_FLAG_AUTOMATIC))