diff --git a/Tactical/Tactical Save.cpp b/Tactical/Tactical Save.cpp index 4e5b679a9..db537be99 100644 --- a/Tactical/Tactical Save.cpp +++ b/Tactical/Tactical Save.cpp @@ -1295,6 +1295,14 @@ BOOLEAN LoadCurrentSectorsInformationFromTempItemsFile() #endif //if we are in an above ground sector + //If there is a map modifications file, load the data from the temp file + if ( DoesTempFileExistsForMap( SF_MAP_MODIFICATIONS_TEMP_FILE_EXISTS, gWorldSectorX, gWorldSectorY, gbWorldSectorZ ) ) + { + fUsedTempFile = TRUE; + if ( !LoadAllMapChangesFromMapTempFileAndApplyThem() ) + return( FALSE ); + } + //If there is a file, load in the Items array if( DoesTempFileExistsForMap( SF_ITEM_TEMP_FILE_EXISTS, gWorldSectorX, gWorldSectorY, gbWorldSectorZ ) ) { @@ -1311,14 +1319,6 @@ BOOLEAN LoadCurrentSectorsInformationFromTempItemsFile() return( FALSE ); } - //If there is a map modifications file, load the data from the temp file - if( DoesTempFileExistsForMap( SF_MAP_MODIFICATIONS_TEMP_FILE_EXISTS, gWorldSectorX, gWorldSectorY, gbWorldSectorZ ) ) - { - fUsedTempFile = TRUE; - if( !LoadAllMapChangesFromMapTempFileAndApplyThem( ) ) - return( FALSE ); - } - //if there is a door table temp file, load the data from the temp file if( DoesTempFileExistsForMap( SF_DOOR_TABLE_TEMP_FILES_EXISTS, gWorldSectorX, gWorldSectorY, gbWorldSectorZ ) ) {