bring the Diplomacy menu back to life, but
- rename LockTeams to FragileAlliances to avoid confusion - only allow it in Free-For-All, not Team games or Missions - grey out non-functional buttons and disabled checkboxes
This commit is contained in:
@@ -292,7 +292,7 @@ namespace OpenRA.Mods.RA.Server
|
||||
server.SyncLobbyInfo();
|
||||
return true;
|
||||
}},
|
||||
{ "lockteams",
|
||||
{ "fragilealliance",
|
||||
s =>
|
||||
{
|
||||
if (!client.IsAdmin)
|
||||
@@ -301,7 +301,7 @@ namespace OpenRA.Mods.RA.Server
|
||||
return true;
|
||||
}
|
||||
|
||||
bool.TryParse(s, out server.lobbyInfo.GlobalSettings.LockTeams);
|
||||
bool.TryParse(s, out server.lobbyInfo.GlobalSettings.FragileAlliances);
|
||||
server.SyncLobbyInfo();
|
||||
return true;
|
||||
}},
|
||||
|
||||
Reference in New Issue
Block a user