diff --git a/src/utils/hooks.cpp b/src/utils/hooks.cpp index e33614ef..9c483572 100644 --- a/src/utils/hooks.cpp +++ b/src/utils/hooks.cpp @@ -592,6 +592,7 @@ static_function bool Hook_FireEvent(IGameEvent *event, bool bDontBroadcast) } else if (KZ_STREQI(event->GetName(), "round_prestart")) { + hooks::HookEntities(); KZ::mapapi::OnRoundPreStart(); } else if (KZ_STREQI(event->GetName(), "round_start")) @@ -601,10 +602,6 @@ static_function bool Hook_FireEvent(IGameEvent *event, bool bDontBroadcast) KZ::misc::OnRoundStart(); KZ::mapapi::OnRoundStart(); } - else if (KZ_STREQI(event->GetName(), "round_end")) - { - hooks::HookEntities(); - } else if (KZ_STREQI(event->GetName(), "player_team")) { event->SetBool("silent", true);