fixed #687 Bug with the ctf score when the round starts, fixed so you can't grab the flag if the game is over

This commit is contained in:
Choupom 2011-06-02 12:03:34 +02:00 committed by oy
parent 558b110504
commit c1ebda73e3

View file

@ -117,8 +117,14 @@ void CGameControllerCTF::Tick()
{
IGameController::Tick();
if(GameServer()->m_World.m_ResetRequested)
return;
DoTeamScoreWincheck();
if(GameServer()->m_World.m_Paused)
return;
for(int fi = 0; fi < 2; fi++)
{
CFlag *F = m_apFlags[fi];