Fixed survival games death match bug: https://trello.com/c/jNGSUUGI

This commit is contained in:
CoderTim 2014-11-13 01:49:14 -05:00
parent 7667aa25a8
commit 09ca2234c4

View File

@ -1679,4 +1679,21 @@ public class SurvivalGames extends SoloGame
Scoreboard.Draw();
}
@Override
public boolean IsLive()
{
return super.IsLive() && !isDeathMatchAboutToStart();
}
public boolean isDeathMatchAboutToStart()
{
if (!_deathmatchLive)
return false;
if (_deathmatchTime <= 0)
return false;
return true;
}
}