Skip to content

Commit 31c7f37

Browse files
committed
more cleanup for match summary
1 parent 998edff commit 31c7f37

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/game/shared/tf/tf_gamerules.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23281,6 +23281,13 @@ void CTFGameRules::MatchSummaryEnd( void )
2328123281
// note: this resets view offset.
2328223282
// TODO(mcoms): we might need to do better, gamemovement state machine?
2328323283
pPlayer->RefreshCollisionBounds();
23284+
23285+
CTFPlayer* pTFPlayer = ToTFPlayer( pPlayer );
23286+
if ( !pTFPlayer )
23287+
continue;
23288+
23289+
pTFPlayer->m_Shared.RemoveCond( TF_COND_COMPETITIVE_WINNER );
23290+
pTFPlayer->m_Shared.RemoveCond( TF_COND_COMPETITIVE_LOSER );
2328423291
}
2328523292

2328623293
// reset bot convars here

0 commit comments

Comments
 (0)