summaryrefslogtreecommitdiff
path: root/src/modmanager_static.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modmanager_static.cpp')
-rw-r--r--src/modmanager_static.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modmanager_static.cpp b/src/modmanager_static.cpp
index 40123674b..321bf520d 100644
--- a/src/modmanager_static.cpp
+++ b/src/modmanager_static.cpp
@@ -102,6 +102,7 @@ bool ModuleManager::Load(const std::string& name, bool defer)
}
else
{
+ AttachAll(mod);
mod->init();
}
}
@@ -207,6 +208,7 @@ void ModuleManager::LoadAll()
Module* mod = i->second;
try
{
+ AttachAll(mod);
mod->init();
}
catch (CoreException& modexcept)