From 09ca2234c4e61ee5240031ce8eb1fdf5fad3e383 Mon Sep 17 00:00:00 2001 From: CoderTim Date: Thu, 13 Nov 2014 01:49:14 -0500 Subject: [PATCH] Fixed survival games death match bug: https://trello.com/c/jNGSUUGI --- .../game/games/survivalgames/SurvivalGames.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/survivalgames/SurvivalGames.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/survivalgames/SurvivalGames.java index 048dd9f8f..5b162544b 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/survivalgames/SurvivalGames.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/survivalgames/SurvivalGames.java @@ -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; + } }