Move cheats option to rules.

This commit is contained in:
Paul Chote
2016-02-29 17:52:54 +00:00
parent 5e59a9d1c1
commit aed8518e04
9 changed files with 40 additions and 10 deletions

View File

@@ -58,7 +58,6 @@ namespace OpenRA
public class MapOptions
{
public bool? Cheats;
public bool? Crates;
public bool? Creeps;
public bool? Fog;
@@ -72,8 +71,6 @@ namespace OpenRA
public void UpdateServerSettings(Session.Global settings)
{
if (Cheats.HasValue)
settings.AllowCheats = Cheats.Value;
if (Crates.HasValue)
settings.Crates = Crates.Value;
if (Creeps.HasValue)