Change the "Empty" filter to not discard servers that have only spectators.
This commit is contained in:
@@ -689,7 +689,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
if (game.State == (int)ServerState.WaitingPlayers && !filters.HasFlag(MPGameFilters.Waiting) && game.Players != 0)
|
||||
return true;
|
||||
|
||||
if (game.Players == 0 && !filters.HasFlag(MPGameFilters.Empty))
|
||||
if ((game.Players + game.Spectators) == 0 && !filters.HasFlag(MPGameFilters.Empty))
|
||||
return true;
|
||||
|
||||
if (!game.IsCompatible && !filters.HasFlag(MPGameFilters.Incompatible))
|
||||
|
||||
Reference in New Issue
Block a user