@@ -36,13 +36,13 @@ export class MpMapsUpdaterService {
3636 }
3737
3838 /**
39- * This merges the map data from .map files and the MPMaps.ini file.
39+ * This merges the map data from .mpr files and the MPMaps.ini file.
4040 * @param mpMapsIniFile the MPMaps.ini file to merge
4141 * @param mapIniFiles the list of maps found on the system
4242 * @private
4343 */
4444 private async mergeMapsKeys ( mpMapsIniFile : IniFile , mapIniFiles : IniFile [ ] ) : Promise < void > {
45- console . log ( 'Merging MPMaps.ini file with .map files' ) ;
45+ console . log ( 'Merging MPMaps.ini file with .mpr files' ) ;
4646 const addedMapFiles : IniFile [ ] = await this . addNewMapIniFiles ( mpMapsIniFile , mapIniFiles ) ;
4747 const removedMapKeys : string [ ] = await this . removeMissingMaps ( mpMapsIniFile , mapIniFiles ) ;
4848 await this . updateMultiMaps ( mpMapsIniFile , addedMapFiles , removedMapKeys ) ;
@@ -165,7 +165,7 @@ export class MpMapsUpdaterService {
165165 }
166166
167167 /**
168- * If .map files are removed from the repo, we must also remove them from the MPMaps.ini file.
168+ * If .mpr files are removed from the repo, we must also remove them from the MPMaps.ini file.
169169 * @param {IniFile } mpMapsIniFile the file to remove maps from
170170 * @param {IniFile[] } mapIniFiles the list of maps found on the system
171171 * @return {string[] } missing map keys
@@ -189,7 +189,7 @@ export class MpMapsUpdaterService {
189189 }
190190
191191 /**
192- * If .map files are removed from the repo, we must also remove them from the MPMaps.ini file.
192+ * If .mpr files are removed from the repo, we must also remove them from the MPMaps.ini file.
193193 * @param mpMapsIniFile the file to remove maps from
194194 * @param currentMapKeys the current maps in the MPMaps.ini file
195195 * @param missingMapKeys the maps that should be removed from the MPMaps.ini file
@@ -211,7 +211,7 @@ export class MpMapsUpdaterService {
211211 const updateExecIniFile = await this . getUpdateExecIniFile ( ) ;
212212 const deleteFiles = updateExecIniFile [ constants . updateExecSections . deleteFile ] as string [ ] ;
213213 const keysToAdd = missingMapKeys . map ( key => [
214- `${ key } .map ` ,
214+ `${ key } .mpr ` ,
215215 `${ key } .png`
216216 ] ) . flat ( ) ;
217217
0 commit comments