diff --git a/OpenRA.Mods.Common/Traits/Attack/AttackFrontal.cs b/OpenRA.Mods.Common/Traits/Attack/AttackFrontal.cs index dff753525f..c3d1cd9db0 100644 --- a/OpenRA.Mods.Common/Traits/Attack/AttackFrontal.cs +++ b/OpenRA.Mods.Common/Traits/Attack/AttackFrontal.cs @@ -22,6 +22,8 @@ namespace OpenRA.Mods.Common.Traits public override void RulesetLoaded(Ruleset rules, ActorInfo ai) { + base.RulesetLoaded(rules, ai); + if (FacingTolerance < 0 || FacingTolerance > 128) throw new YamlException("Facing tolerance must be in range of [0, 128], 128 covers 360 degrees."); }