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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user