From 26dddbd55b4e9b8828f80dd6f4ea72f76de1c7ea Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Sat, 20 Mar 2021 20:54:27 +0200 Subject: [PATCH] Update Events.inc --- module/Core/Events.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }