Skip to content

Commit

Permalink
mods: Fix texts not loading in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
IonAgorria committed Apr 12, 2024
1 parent f80c3e9 commit ec2f36a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Game/qd_textdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ void qdTextDB::load_from_directory(const std::string& locale, const std::string&
for (const auto& entry: get_content_entries_directory(path)) {
//Only load files from non mod folders if exclude_mods is true, otherwise only load from mods
//This ensures every file is parsed only once, that mod can override base content if required and
if (startsWith(entry->key_content, "mods/") == exclude_mods) {
if (startsWith(entry->key_content, ("mods" PATH_SEP_STR)) == exclude_mods) {
continue;
}
std::filesystem::path entry_path = std::filesystem::u8path(entry->key);
Expand Down

0 comments on commit ec2f36a

Please sign in to comment.