aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/server/trigger_area_capture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mp/src/game/server/trigger_area_capture.cpp')
-rw-r--r--mp/src/game/server/trigger_area_capture.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/mp/src/game/server/trigger_area_capture.cpp b/mp/src/game/server/trigger_area_capture.cpp
index 2839200b..648a3b86 100644
--- a/mp/src/game/server/trigger_area_capture.cpp
+++ b/mp/src/game/server/trigger_area_capture.cpp
@@ -366,6 +366,7 @@ void CTriggerAreaCapture::CaptureThink( void )
}
iNumBlockablePlayers[iTeam] += TeamplayGameRules()->GetCaptureValueForPlayer( pPlayer );
+ pPlayer->SetLastObjectiveTime( gpGlobals->curtime );
}
continue;
}
@@ -378,6 +379,7 @@ void CTriggerAreaCapture::CaptureThink( void )
}
iNumPlayers[iTeam] += TeamplayGameRules()->GetCaptureValueForPlayer( pPlayer );
+ pPlayer->SetLastObjectiveTime( gpGlobals->curtime );
}
}
}