Don't update player list when lobby doesn't have our client yet

This commit is contained in:
Oliver Brakmann
2016-01-07 21:54:47 +01:00
parent 22e071c57f
commit d580551572

View File

@@ -776,6 +776,9 @@ namespace OpenRA.Mods.Common.Widgets.Logic
void UpdatePlayerList()
{
if (orderManager.LocalClient == null)
return;
var idx = 0;
foreach (var kv in orderManager.LobbyInfo.Slots)
{