1
0
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:
Sandu Liviu Catalin 2021-03-20 20:54:27 +02:00
parent a746bf0075
commit 26dddbd55b

View File

@ -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
}