Fix No Players No Bots No Spectators label overlapping.
This commit is contained in:
committed by
Gustas
parent
7b7ccf4128
commit
0080e98390
@@ -417,9 +417,15 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
|
||||
string PlayerLabel(GameServer game)
|
||||
{
|
||||
return players.Update(game.Players)
|
||||
+ bots.Update(game.Bots)
|
||||
+ spectators.Update(game.Spectators);
|
||||
var label = players.Update(game.Players);
|
||||
|
||||
if (game.Bots > 0)
|
||||
label += " " + bots.Update(game.Bots);
|
||||
|
||||
if (game.Spectators > 0)
|
||||
label += " " + spectators.Update(game.Spectators);
|
||||
|
||||
return label;
|
||||
}
|
||||
|
||||
public void RefreshServerList()
|
||||
|
||||
Reference in New Issue
Block a user