From dcaa658678c398b600a7b591a4d4cf796ea50493 Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Sun, 18 Jul 2021 21:08:41 +0200 Subject: [PATCH] Remove an outdated reference to ConditionManager --- OpenRA.Mods.Common/Traits/Conditions/ConditionalTrait.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.Common/Traits/Conditions/ConditionalTrait.cs b/OpenRA.Mods.Common/Traits/Conditions/ConditionalTrait.cs index e1146b7c57..18fdd5748e 100644 --- a/OpenRA.Mods.Common/Traits/Conditions/ConditionalTrait.cs +++ b/OpenRA.Mods.Common/Traits/Conditions/ConditionalTrait.cs @@ -56,8 +56,8 @@ namespace OpenRA.Mods.Common.Traits { Info = info; - // Conditional traits will be enabled (if appropriate) by the ConditionManager - // calling ConditionConsumers at the end of INotifyCreated. + // Conditional traits will be enabled (if appropriate) by the Actor + // calling ConditionConsumers after INotifyCreated runs. IsTraitDisabled = Info.RequiresCondition != null; }