Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
coach kill after spawn
Browse files Browse the repository at this point in the history
  • Loading branch information
marqdevx committed Mar 1, 2024
1 parent 92b3c05 commit 59554da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ GAME_EVENT_F(round_prestart)
{
CCSPlayerController *pController = hController.Get();
if(!pController) return -1.0f; //avoid crash if coach is not connected
//pController->GetPawn()->CommitSuicide(false, true);
pController->GetPawn()->CommitSuicide(false, true);
pController->m_pInGameMoneyServices->m_iAccount = 0;
pController->m_pActionTrackingServices->m_matchStats().m_iDeaths = 0;
return -1.0f;
Expand Down

0 comments on commit 59554da

Please sign in to comment.