mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-10-19 20:17:11 +02:00
Update Events.inc
This commit is contained in:
1 parent
a746bf0075
commit
26dddbd55b
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user