aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/printmaps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/printmaps.cpp')
-rw-r--r--NorthstarDLL/printmaps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/printmaps.cpp b/NorthstarDLL/printmaps.cpp
index 4aa28f3e..7a12b1fe 100644
--- a/NorthstarDLL/printmaps.cpp
+++ b/NorthstarDLL/printmaps.cpp
@@ -98,7 +98,7 @@ void RefreshMapList()
}
// get maps in game dir
- for (fs::directory_entry file : fs::directory_iterator(fmt::format("{}/maps", "r2")))
+ for (fs::directory_entry file : fs::directory_iterator(fmt::format("{}/maps", R2::g_pModName)))
{
if (file.path().extension() == ".bsp")
{