diff --git a/Engine.Core/BehaviourController.cs b/Engine.Core/BehaviourController.cs index a5d7ae1..ee31151 100644 --- a/Engine.Core/BehaviourController.cs +++ b/Engine.Core/BehaviourController.cs @@ -27,7 +27,6 @@ public class BehaviourController : BaseEntity, IBehaviourController InsertBehaviourByPriority(behaviour); behaviour.Assign(this); - behaviour.Assign(Factory.StateEnableFactory.Instantiate(behaviour)); if (IsInitialized) behaviour.Initialize();