* Fixed a bug that stopped the match because table was wrongly removed. Happened only during sideboarding phase.

This commit is contained in:
LevelX2 2014-10-09 08:00:00 +02:00
parent 48c1294b64
commit 3d4072922f

View file

@ -858,7 +858,7 @@ public class TableController {
}
if (matchPlayer.getPlayer().isHuman()) {
humanPlayers++;
if (!matchPlayer.hasQuit() && match.getGame() != null && matchPlayer.getPlayer().isInGame()) {
if (!match.isDoneSideboarding() || (!matchPlayer.hasQuit() && match.getGame() != null && matchPlayer.getPlayer().isInGame())) {
User user = UserManager.getInstance().getUser(userPlayerEntry.getKey());
if (user == null) {
logger.debug("- Active user of match is missing: " + matchPlayer.getName());