aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/modmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/modmanager.cpp')
-rw-r--r--NorthstarDLL/modmanager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/NorthstarDLL/modmanager.cpp b/NorthstarDLL/modmanager.cpp
index 07a197dd..d95bcbce 100644
--- a/NorthstarDLL/modmanager.cpp
+++ b/NorthstarDLL/modmanager.cpp
@@ -262,6 +262,7 @@ ModManager::ModManager()
m_hPdefHash = STR_HASH(
"cfg\\server\\persistent_player_data_version_231.pdef" // this can have multiple versions, but we use 231 so that's what we hash
);
+ m_hKBActHash = STR_HASH("scripts\\kb_act.lst");
LoadMods();
}
@@ -685,6 +686,8 @@ void ModManager::CompileAssetsForFile(const char* filename)
BuildScriptsRson();
else if (fileHash == m_hPdefHash)
BuildPdef();
+ else if (fileHash == m_hKBActHash)
+ BuildKBActionsList();
else
{
// check if we should build keyvalues, depending on whether any of our mods have patch kvs for this file