Use DefaultCash for the default cash.

This commit is contained in:
Paul Chote
2016-02-29 19:57:30 +00:00
parent 76b1810925
commit e34864fe40
4 changed files with 18 additions and 13 deletions

View File

@@ -60,7 +60,6 @@ namespace OpenRA
{
public bool? Creeps;
public bool? AllyBuildRadius;
public int? StartingCash;
public string TechLevel;
public bool ConfigurableStartingUnits = true;
public string[] Difficulties = { };
@@ -72,8 +71,6 @@ namespace OpenRA
settings.Creeps = Creeps.Value;
if (AllyBuildRadius.HasValue)
settings.AllyBuildRadius = AllyBuildRadius.Value;
if (StartingCash.HasValue)
settings.StartingCash = StartingCash.Value;
if (ShortGame.HasValue)
settings.ShortGame = ShortGame.Value;
}