fix: behaviour controllers of universe objects not being initialized

This commit is contained in:
2025-04-25 21:26:01 +03:00
parent 0a868b82e5
commit 4623b4861a
2 changed files with 5 additions and 0 deletions

View File

@@ -156,6 +156,7 @@ public class UniverseObject : BaseEntity, IUniverseObject
{
base.InitializeInternal();
_behaviourController ??= Factory.BehaviourControllerFactory.Instantiate(this);
_behaviourController.Initialize();
}
public UniverseObject()