Add the missing base implementation to AttackFrontal's RulesetLoaded

This commit is contained in:
abcdefg30
2017-08-08 13:38:35 +02:00
committed by reaperrr
parent dd9d5450bc
commit 7156c2c09d

View File

@@ -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.");
}