diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-09-30 21:46:08 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-09-30 21:46:08 +0100 |
commit | 1ff8e068e62d095775ef2ae54d3685d89238f28c (patch) | |
tree | 5aedcc16f144c2225d7398dd1f19b4f11cd467c1 /NorthstarDedicatedTest/modlocalisation.cpp | |
parent | 8b93a09f5b12ce7967df5824794ed24b3ff31cdc (diff) | |
download | NorthstarLauncher-1ff8e068e62d095775ef2ae54d3685d89238f28c.tar.gz NorthstarLauncher-1ff8e068e62d095775ef2ae54d3685d89238f28c.zip |
small modmanager refactors
Diffstat (limited to 'NorthstarDedicatedTest/modlocalisation.cpp')
-rw-r--r-- | NorthstarDedicatedTest/modlocalisation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/modlocalisation.cpp b/NorthstarDedicatedTest/modlocalisation.cpp index d8168d0c..d30fb2c9 100644 --- a/NorthstarDedicatedTest/modlocalisation.cpp +++ b/NorthstarDedicatedTest/modlocalisation.cpp @@ -21,8 +21,8 @@ bool AddLocalisationFileHook(void* g_pVguiLocalize, const char* path, const char loadModLocalisationFiles = false; - for (Mod* mod : g_ModManager->m_loadedMods) - for (std::string& localisationFile : mod->LocalisationFiles) + for (Mod mod : g_ModManager->m_loadedMods) + for (std::string& localisationFile : mod.LocalisationFiles) AddLocalisationFile(g_pVguiLocalize, localisationFile.c_str(), pathId, unknown); loadModLocalisationFiles = true; |