warn about custom rules

This commit is contained in:
Matthias Mailänder
2015-07-05 17:01:39 +02:00
parent a753a114a0
commit 8c92839e0b
2 changed files with 6 additions and 0 deletions

View File

@@ -371,6 +371,9 @@ namespace OpenRA.Mods.Common.Server
server.SendMessage("{0} changed the map to {1}.".F(client.Name, server.Map.Title));
if (server.Map.RuleDefinitions.Any())
server.SendMessage("This map contains custom rules. Game experience may change.");
return true;
}
},