Fixed survival games death match bug: https://trello.com/c/jNGSUUGI
This commit is contained in:
parent
7667aa25a8
commit
09ca2234c4
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user