Skip to content

Commit

Permalink
Fix rebase kerfuffle with hookentities
Browse files Browse the repository at this point in the history
  • Loading branch information
GameChaos committed Oct 30, 2024
1 parent 06675ad commit d45ff10
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/utils/hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand All @@ -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);
Expand Down

0 comments on commit d45ff10

Please sign in to comment.