events: bring back accidentally nuked preConfigReload

This commit is contained in:
Vaxry 2024-02-20 03:24:10 +00:00
parent 030ed27cc8
commit 86be75dd97

View file

@ -573,6 +573,7 @@ std::string CConfigManager::getMainConfigPath() {
} }
void CConfigManager::reload() { void CConfigManager::reload() {
EMIT_HOOK_EVENT("preConfigReload", nullptr);
setDefaultAnimationVars(); setDefaultAnimationVars();
resetHLConfig(); resetHLConfig();
configCurrentPath = getMainConfigPath(); configCurrentPath = getMainConfigPath();