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
a746bf0075
commit
26dddbd55b
@ -176,7 +176,7 @@ void Core::EmitPlayerDestroyed(int32_t player, int32_t header, LightObj & payloa
|
||||
#ifdef VCMP_ENABLE_OFFICIAL
|
||||
if (IsOfficial())
|
||||
{
|
||||
ExecuteLegacyEvent(m_VM, _SC("onPlayerPart"), _player.mLgObj);
|
||||
ExecuteLegacyEvent(m_VM, _SC("onPlayerPart"), _player.mLgObj, header);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user