Oppress undesired messages about difficulty changes
This commit is contained in:
@@ -572,6 +572,9 @@ namespace OpenRA.Mods.Common.Server
|
|||||||
{ "difficulty",
|
{ "difficulty",
|
||||||
s =>
|
s =>
|
||||||
{
|
{
|
||||||
|
if (!server.Map.Options.Difficulties.Any())
|
||||||
|
return true;
|
||||||
|
|
||||||
if (!client.IsAdmin)
|
if (!client.IsAdmin)
|
||||||
{
|
{
|
||||||
server.SendOrderTo(conn, "Message", "Only the host can set that option.");
|
server.SendOrderTo(conn, "Message", "Only the host can set that option.");
|
||||||
|
|||||||
Reference in New Issue
Block a user