aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/modmanager.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-09-20 10:57:57 +0100
committerGitHub <noreply@github.com>2022-09-20 11:57:57 +0200
commit122f84f14d6177cc4c78b817ab71712185e0b47f (patch)
tree20c8ebcdddcdba06161da89ba5710ef237311f3a /NorthstarDLL/modmanager.cpp
parent5dd0949213203572109d95daa934d113832525a7 (diff)
downloadNorthstarLauncher-122f84f14d6177cc4c78b817ab71712185e0b47f.tar.gz
NorthstarLauncher-122f84f14d6177cc4c78b817ab71712185e0b47f.zip
Standardise concommand func naming in C++ (#277)
part of refactor
Diffstat (limited to 'NorthstarDLL/modmanager.cpp')
-rw-r--r--NorthstarDLL/modmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDLL/modmanager.cpp b/NorthstarDLL/modmanager.cpp
index 41391e11..2223109f 100644
--- a/NorthstarDLL/modmanager.cpp
+++ b/NorthstarDLL/modmanager.cpp
@@ -606,7 +606,7 @@ void ModManager::CompileAssetsForFile(const char* filename)
}
}
-void ReloadModsCommand(const CCommand& args)
+void ConCommand_reload_mods(const CCommand& args)
{
g_ModManager->LoadMods();
}
@@ -615,7 +615,7 @@ void InitialiseModManager(HMODULE baseAddress)
{
g_ModManager = new ModManager;
- RegisterConCommand("reload_mods", ReloadModsCommand, "idk", FCVAR_NONE);
+ RegisterConCommand("reload_mods", ConCommand_reload_mods, "reloads mods", FCVAR_NONE);
}
fs::path GetModFolderPath()