From a4d77a42d55bb46ac9c141eea26d0a6d310fbca7 Mon Sep 17 00:00:00 2001 From: deniz1a Date: Tue, 14 Jul 2015 10:51:21 +0300 Subject: [PATCH] Fixes Empty filter in server browser. Now, Waiting doesn't filter empty servers. --- OpenRA.Mods.Common/Widgets/Logic/ServerBrowserLogic.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Widgets/Logic/ServerBrowserLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/ServerBrowserLogic.cs index d7fca8b31a..567d6bdcc0 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/ServerBrowserLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/ServerBrowserLogic.cs @@ -381,7 +381,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic if ((game.State == (int)ServerState.GameStarted) && !showStarted) return true; - if ((game.State == (int)ServerState.WaitingPlayers) && !showWaiting) + if ((game.State == (int)ServerState.WaitingPlayers) && !showWaiting && game.Players != 0) return true; if ((game.Players == 0) && !showEmpty)