Merge pull request #7269 from abcdefg30/general-polish

Some general polish
This commit is contained in:
Oliver Brakmann
2015-01-04 16:54:37 +01:00
6 changed files with 20 additions and 11 deletions

View File

@@ -572,6 +572,9 @@ namespace OpenRA.Mods.Common.Server
{ "difficulty",
s =>
{
if (!server.Map.Options.Difficulties.Any())
return true;
if (!client.IsAdmin)
{
server.SendOrderTo(conn, "Message", "Only the host can set that option.");