Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sabianroberts committed Nov 5, 2024
1 parent 64d088d commit 855840a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion binary/dlls/teamplay_gamerules.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,10 @@ void CHalfLifeTeamplay::ChangePlayerTeam( CBasePlayer *pPlayer, const char *pTea
}

entvars_t *pevWorld = VARS( INDEXENT(0) );
pPlayer->TakeDamage( pevWorld, pevWorld, 900, damageFlags );
pPlayer->TakeDamage( pevWorld, pevWorld, 5000, damageFlags );
pPlayer->Killed(pevWorld, GIB_NORMAL);
CLIENT_COMMAND(pPlayer->edict(), "+attack\n");
CLIENT_COMMAND(pPlayer->edict(), "-attack\n");

m_DisableDeathMessages = FALSE;
m_DisableDeathPenalty = FALSE;
Expand Down

0 comments on commit 855840a

Please sign in to comment.