aboutsummaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/mods.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/mods.cpp b/src/server/mods.cpp
index c246e6446..c5616dcd6 100644
--- a/src/server/mods.cpp
+++ b/src/server/mods.cpp
@@ -75,6 +75,9 @@ void ServerModManager::loadMods(ServerScripting *script)
std::chrono::steady_clock::now() - t).count() * 0.001f
<< " seconds" << std::endl;
}
+
+ // Run a callback when mods are loaded
+ script->on_mods_loaded();
}
// clang-format on