aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobTheBob <for.oliver.kirkham@gmail.com>2023-03-07 15:09:13 +0000
committerBobTheBob <for.oliver.kirkham@gmail.com>2023-03-07 15:09:13 +0000
commit329dd6e93bd1ed1e14cf30aea27dfab804814fce (patch)
treefd36c495f82a3299e032eb3123e7260624d75ca8
parent946ab08b068c4d0b575724bb2c038f4a87f80b73 (diff)
downloadNorthstarLauncher-329dd6e93bd1ed1e14cf30aea27dfab804814fce.tar.gz
NorthstarLauncher-329dd6e93bd1ed1e14cf30aea27dfab804814fce.zip
reload datatables before uiscript_reset
-rw-r--r--NorthstarDLL/mods/modmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/NorthstarDLL/mods/modmanager.cpp b/NorthstarDLL/mods/modmanager.cpp
index c4f30386..38305770 100644
--- a/NorthstarDLL/mods/modmanager.cpp
+++ b/NorthstarDLL/mods/modmanager.cpp
@@ -1010,15 +1010,15 @@ void ModManager::ReloadNecessaryModAssets(bool bDeferred, const ModAssetsToReloa
if (pAssetsToReload->bPlaylists || pAssetsToReload->bLocalisation)
vReloadCommands.push_back("loadPlaylists");
+ if (pAssetsToReload->bDatatables)
+ vReloadCommands.push_back("ns_cleardatatablecache");
+
if (pAssetsToReload->bUiScript)
vReloadCommands.push_back("uiscript_reset");
if (pAssetsToReload->bAimAssistSettings)
vReloadCommands.push_back("ReloadAimAssistSettings");
- if (pAssetsToReload->bDatatables)
- vReloadCommands.push_back("ns_cleardatatablecache");
-
if (pAssetsToReload->bModels)
spdlog::warn("Need to reload models but can't without a restart!");