Hide the Ready checkbox when a spectator transfers away Admin.

This commit is contained in:
Paul Chote
2018-08-04 14:27:22 +00:00
committed by reaperrr
parent 5c42f55b3a
commit a51b916eaa
2 changed files with 10 additions and 0 deletions

View File

@@ -646,6 +646,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic
if (client.IsAdmin)
LobbyUtils.SetupEditableReadyWidget(template, null, client, orderManager, map);
else
LobbyUtils.HideReadyWidgets(template);
}
else
{
@@ -661,6 +663,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic
if (client.IsAdmin)
LobbyUtils.SetupReadyWidget(template, null, client);
else
LobbyUtils.HideReadyWidgets(template);
}
LobbyUtils.SetupLatencyWidget(template, c, orderManager, true);