Fix LightBehaviourComponent stinky warning.
This commit is contained in:
parent
2d3077f560
commit
0081c3054d
|
|
@ -391,7 +391,9 @@ namespace Content.Client.Light.Components
|
|||
base.Startup();
|
||||
|
||||
CopyLightSettings();
|
||||
Owner.EnsureComponentWarn<AnimationPlayerComponent>();
|
||||
|
||||
// TODO: Do NOT ensure component here. And use eventbus events instead...
|
||||
Owner.EnsureComponent<AnimationPlayerComponent>();
|
||||
|
||||
if (Owner.TryGetComponent(out AnimationPlayerComponent? animation))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue