This commit is contained in:
Rowedahelicon 2025-03-31 16:08:26 -07:00 committed by GitHub
commit 7033669bcb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -266,6 +266,11 @@ void CTFPlayerDestructionLogic::EvaluatePlayerCount()
CollectPlayers( &vecAllPlayers );
m_nMaxPoints = Max( m_nMinPoints, m_nPointsPerPlayer * vecAllPlayers.Count() );
if ( m_nRedScore.Get() >= m_nMaxPoints || m_nBlueScore.Get() >= m_nMaxPoints )
{
m_nMaxPoints = Max( m_nRedScore.Get(), m_nBlueScore.Get() ) + 1;
}
}
void CTFPlayerDestructionLogic::InputScoreRedPoints( inputdata_t& inputdata )