Skip to content

Commit 82e8b10

Browse files
committed
Update flatmap.dds path in BookmarkOutputter for CK3 1.18
1 parent 542a402 commit 82e8b10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ImperatorToCK3/Outputter/BookmarkOutputter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,11 @@ private static async Task DrawBookmarkMap(Configuration config, List<Title> play
186186
var ck3ModFS = ck3World.ModFS;
187187
var provincesMapPath = ck3ModFS.GetActualFileLocation("map_data/provinces.png");
188188
if (provincesMapPath is null) {
189-
throw new FileNotFoundException($"{nameof(provincesMapPath)} not found!");
189+
throw new FileNotFoundException("provinces.png not found!");
190190
}
191-
var flatmapPath = ck3ModFS.GetActualFileLocation("gfx/map/terrain/flatmap.dds");
191+
var flatmapPath = ck3ModFS.GetActualFileLocation("gfx/map/terrain/flat_maps/flatmap.dds");
192192
if (flatmapPath is null) {
193-
throw new FileNotFoundException($"{nameof(flatmapPath)} not found!");
193+
throw new FileNotFoundException("flatmap.dds not found!");
194194
}
195195
const string tmpFlatmapPath = "temp/flatmap.png";
196196

0 commit comments

Comments
 (0)