From 5ae1d1c4bfd858380d2d6c307f12758432f2c826 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Sun, 4 Feb 2018 15:18:19 +0100 Subject: [PATCH] Fix bracket style issue in ProductionQueue While it's really minor and insignificant, our style convention is to put opening { brackets on a newline (unless everything fits into a single line). --- OpenRA.Mods.Common/Traits/Player/ProductionQueue.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Traits/Player/ProductionQueue.cs b/OpenRA.Mods.Common/Traits/Player/ProductionQueue.cs index 0c22306e8b..8dc98cd7fa 100644 --- a/OpenRA.Mods.Common/Traits/Player/ProductionQueue.cs +++ b/OpenRA.Mods.Common/Traits/Player/ProductionQueue.cs @@ -64,7 +64,8 @@ namespace OpenRA.Mods.Common.Traits public virtual object Create(ActorInitializer init) { return new ProductionQueue(init, init.Self.Owner.PlayerActor, this); } - public void RulesetLoaded(Ruleset rules, ActorInfo ai) { + public void RulesetLoaded(Ruleset rules, ActorInfo ai) + { if (LowPowerSlowdown <= 0) throw new YamlException("Production queue must have LowPowerSlowdown of at least 1."); }