mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
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:
parent
558b110504
commit
c1ebda73e3
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue