mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-03-14 14:30:33 +03:00
tf2: Fix crash with game_round_win in koth
Fixes https://github.com/ValveSoftware/Source-1-Games/issues/4254
This commit is contained in:
parent
8aefabd725
commit
64e4b89f83
@ -1156,6 +1156,8 @@ int CTeamControlPointMaster::GetNumPointsOwnedByTeam( int iTeam )
|
||||
//-----------------------------------------------------------------------------
|
||||
int CTeamControlPointMaster::CalcNumRoundsRemaining( int iTeam )
|
||||
{
|
||||
if (m_ControlPointRounds.Count() == 0) return 0;
|
||||
|
||||
// To determine how many rounds remain for a given team if it consistently wins mini-rounds, we have to
|
||||
// simulate forward each mini-round and track the control point ownership that would result
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user