Disable the restart button on dedicated servers
This commit is contained in:
@@ -97,7 +97,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
var iop = world.WorldActor.TraitsImplementing<IObjectivesPanel>().FirstOrDefault();
|
||||
var exitDelay = iop != null ? iop.ExitDelay : 0;
|
||||
|
||||
if (world.LobbyInfo.NonBotClients.Count() == 1)
|
||||
if (!world.LobbyInfo.GlobalSettings.Dedicated && world.LobbyInfo.NonBotClients.Count() == 1)
|
||||
{
|
||||
restartAction = () =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user