From 612df704dcf63faf675253d99187d4b57e777689 Mon Sep 17 00:00:00 2001 From: Sam V Date: Mon, 28 Mar 2022 13:02:11 +0200 Subject: [PATCH] Fix node graphs being loaded from search paths other than GAMECONFIG path Resolves #145 --- dlls/nodes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/nodes.cpp b/dlls/nodes.cpp index e76bc172f..f85b71c54 100644 --- a/dlls/nodes.cpp +++ b/dlls/nodes.cpp @@ -2326,7 +2326,7 @@ bool CGraph::FLoadGraph(const char* szMapName) const std::string fileName{std::string{"maps/graphs/"} + szMapName + ".nod"}; //Note: no path ID to allow loading graphs from addon content. - const auto buffer = FileSystem_LoadFileIntoBuffer(fileName.c_str()); + const auto buffer = FileSystem_LoadFileIntoBuffer(fileName.c_str(), "GAMECONFIG"); if (buffer.empty()) {