mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Update Events.inc
This commit is contained in:
parent
8985866060
commit
2ca0af51cb
@ -1690,6 +1690,12 @@ void Core::EmitScriptLoaded() const
|
||||
SQMOD_CO_EV_TRACEBACK("[TRACE<] Core::ScriptLoaded()")
|
||||
(*mOnScriptLoaded.first)();
|
||||
SQMOD_CO_EV_TRACEBACK("[TRACE>] Core::ScriptLoaded")
|
||||
#ifdef VCMP_ENABLE_OFFICIAL
|
||||
if (IsOfficial())
|
||||
{
|
||||
ExecuteLegacyEvent(m_VM, _SC("onScriptLoad"));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user