[Code] PathManager Global to Singleton Cleanup (#4924)

This commit is contained in:
Chris Miles authored and GitHub committed 2025-06-22 13:50:52 -04:00
1 parent e846bb86b6
commit df86ad371b
33 files changed
+83 -89

No files matched your search

+1 -1
View File
@@ -138,7 +138,7 @@ void Embperl::DoInit()
LogQuests("Warning [{}]: [{}]", Config->PluginPlFile, e);
}
for (auto & dir : path.GetPluginPaths()) {
for (auto & dir : PathManager::Instance()->GetPluginPaths()) {
try {
//should probably read the directory in c, instead, so that
//I can echo filenames as I do it, but c'mon... I'm lazy and this 1 line reads in all the plugins