Merge pull request #10457 from obrakmann/fix10450_lobby-early-crash

Don't update player list when lobby doesn't have our client yet
This commit is contained in:
Matthias Mailänder
2016-01-08 19:14:03 +01:00

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)
{