aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/modmanager.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-08-03 01:28:51 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-08-03 01:28:51 +0100
commitbf176fe728400b93295118e8d256c346c8c52d41 (patch)
treeef8e312b9498aa54e4fb788499eca7ddcbfc4dd0 /NorthstarDedicatedTest/modmanager.cpp
parenteb56fcbe02f35ed4f418a7dc53cd9eb0ad95a504 (diff)
downloadNorthstarLauncher-bf176fe728400b93295118e8d256c346c8c52d41.tar.gz
NorthstarLauncher-bf176fe728400b93295118e8d256c346c8c52d41.zip
fix playlist kv building
Diffstat (limited to 'NorthstarDedicatedTest/modmanager.cpp')
-rw-r--r--NorthstarDedicatedTest/modmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/modmanager.cpp b/NorthstarDedicatedTest/modmanager.cpp
index faca09c4..537ea150 100644
--- a/NorthstarDedicatedTest/modmanager.cpp
+++ b/NorthstarDedicatedTest/modmanager.cpp
@@ -247,7 +247,7 @@ void ModManager::LoadMods()
{
for (fs::directory_entry file : fs::recursive_directory_iterator(mod->ModDirectory / "keyvalues"))
{
- if (fs::is_regular_file(file) && !file.path().extension().compare(".txt"))
+ if (fs::is_regular_file(file))
{
std::string kvStr = file.path().lexically_relative(mod->ModDirectory / "keyvalues").lexically_normal().string();
mod->KeyValuesHash.push_back(std::hash<std::string>{}(kvStr));