Inline UID
This commit is contained in:
@@ -86,7 +86,7 @@ namespace Content.Shared.Movement.Components
|
||||
protected override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
if (!IoCManager.Resolve<IEntityManager>().HasComponent<IMoverComponent>(Owner.Uid))
|
||||
if (!IoCManager.Resolve<IEntityManager>().HasComponent<IMoverComponent>(Owner))
|
||||
{
|
||||
Owner.EnsureComponentWarn<SharedPlayerInputMoverComponent>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user