diff --git a/module/Core/Events.inc b/module/Core/Events.inc index 51c3c44c..3665dcf7 100644 --- a/module/Core/Events.inc +++ b/module/Core/Events.inc @@ -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 }