From d580551572d6a21ecf7ea332f5bfec47c258518d Mon Sep 17 00:00:00 2001 From: Oliver Brakmann Date: Thu, 7 Jan 2016 21:54:47 +0100 Subject: [PATCH] Don't update player list when lobby doesn't have our client yet --- OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyLogic.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyLogic.cs index 02331e39b4..300f92c001 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Lobby/LobbyLogic.cs @@ -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) {