Skip to content

Commit

Permalink
Fix multitheftauto#3770 Glob pattern in meta.xml should exclude meta.…
Browse files Browse the repository at this point in the history
…xml (multitheftauto#3779)

Update CResource.cpp
  • Loading branch information
FileEX authored Oct 8, 2024
1 parent 2318836 commit 78f6d66
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Server/mods/deathmatch/logic/CResource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1371,6 +1371,9 @@ std::vector<std::string> CResource::GetFilePaths(const char* szFilename)
std::string strPath = std::filesystem::relative(path, strDirectory).string();
ReplaceSlashes(strPath);

if (strPath == "meta.xml")
continue;

vecFiles.push_back(std::move(strPath));
}

Expand Down

0 comments on commit 78f6d66

Please sign in to comment.