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).
This commit is contained in:
committed by
Mustafa Alperen Seki
parent
8979730c32
commit
5ae1d1c4bf
@@ -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.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user