diff --git a/OpenRA.Mods.RA/Player/ClassicProductionQueue.cs b/OpenRA.Mods.RA/Player/ClassicProductionQueue.cs index 4968e6c985..19f2a39fc7 100755 --- a/OpenRA.Mods.RA/Player/ClassicProductionQueue.cs +++ b/OpenRA.Mods.RA/Player/ClassicProductionQueue.cs @@ -99,7 +99,7 @@ namespace OpenRA.Mods.RA if (self.World.LobbyInfo.GlobalSettings.AllowCheats && self.Owner.PlayerActor.Trait().FastBuild) return 0; - var time = (int)(unit.GetBuildTime() * Info.BuildSpeedModifier); + var time = (int)(unit.GetBuildTime() * Info.BuildSpeed); if (Info.SpeedUp) { diff --git a/OpenRA.Mods.RA/Player/ProductionQueue.cs b/OpenRA.Mods.RA/Player/ProductionQueue.cs index 42bde6cbf8..9d85eadd8c 100755 --- a/OpenRA.Mods.RA/Player/ProductionQueue.cs +++ b/OpenRA.Mods.RA/Player/ProductionQueue.cs @@ -28,7 +28,7 @@ namespace OpenRA.Mods.RA public readonly string Group = null; [Desc("This value is used to translate the unit cost into build time.")] - public float BuildSpeedModifier = 0.4f; + public float BuildSpeed = 0.4f; [Desc("The build time is multiplied with this value on low power.")] public readonly int LowPowerSlowdown = 3; @@ -281,7 +281,7 @@ namespace OpenRA.Mods.RA if (self.World.LobbyInfo.GlobalSettings.AllowCheats && self.Owner.PlayerActor.Trait().FastBuild) return 0; - var time = unit.GetBuildTime() * Info.BuildSpeedModifier; + var time = unit.GetBuildTime() * Info.BuildSpeed; return (int) time; } diff --git a/mods/d2k/rules/system.yaml b/mods/d2k/rules/system.yaml index 9111a92bad..b6bbe67e14 100644 --- a/mods/d2k/rules/system.yaml +++ b/mods/d2k/rules/system.yaml @@ -22,7 +22,7 @@ Player: BlockedAudio: NoRoom ClassicProductionQueue@Starport: Type: Starport - BuildSpeedModifier: .2 + BuildSpeed: .2 LowPowerSlowdown: 1 BlockedAudio: NoRoom QueuedAudio: OrderPlaced