diff --git a/OpenRA.Editor/LegacyMapImporter.cs b/OpenRA.Editor/LegacyMapImporter.cs index 778366a6ef..b64290e9a9 100644 --- a/OpenRA.Editor/LegacyMapImporter.cs +++ b/OpenRA.Editor/LegacyMapImporter.cs @@ -475,9 +475,6 @@ namespace OpenRA.Editor Console.WriteLine(s.Key); switch (s.Key) { - case "Credits": - pr.InitialCash = int.Parse(s.Value); - break; case "Allies": pr.Allies = s.Value.Split(',').Intersect(players).Except(neutral).ToArray(); pr.Enemies = s.Value.Split(',').SymmetricDifference(players).Except(neutral).ToArray(); diff --git a/OpenRA.FileFormats/Map/PlayerReference.cs b/OpenRA.FileFormats/Map/PlayerReference.cs index d773161ba8..93a72589ab 100644 --- a/OpenRA.FileFormats/Map/PlayerReference.cs +++ b/OpenRA.FileFormats/Map/PlayerReference.cs @@ -39,7 +39,6 @@ namespace OpenRA.FileFormats public bool LockTeam = false; public int Team = 0; - public int InitialCash = 0; public string[] Allies = {}; public string[] Enemies = {};