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

Commit 59554da

Browse files
committed
coach kill after spawn
1 parent 92b3c05 commit 59554da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/events.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ GAME_EVENT_F(round_prestart)
140140
{
141141
CCSPlayerController *pController = hController.Get();
142142
if(!pController) return -1.0f; //avoid crash if coach is not connected
143-
//pController->GetPawn()->CommitSuicide(false, true);
143+
pController->GetPawn()->CommitSuicide(false, true);
144144
pController->m_pInGameMoneyServices->m_iAccount = 0;
145145
pController->m_pActionTrackingServices->m_matchStats().m_iDeaths = 0;
146146
return -1.0f;

0 commit comments

Comments
 (0)