Fix and improve custom rule detection.

This commit is contained in:
Paul Chote
2016-04-09 13:40:44 -04:00
parent b49f1439ed
commit 923883fad7
5 changed files with 77 additions and 6 deletions

View File

@@ -392,7 +392,7 @@ namespace OpenRA.Server
SendOrderTo(newConn, "Message", motd);
}
if (Map.Rules != ModData.DefaultRules && !LobbyInfo.IsSinglePlayer)
if (!LobbyInfo.IsSinglePlayer && Map.DefinesUnsafeCustomRules)
SendOrderTo(newConn, "Message", "This map contains custom rules. Game experience may change.");
if (Settings.DisableSinglePlayer)