diff --git a/Content.Server/Administration/AdminVerbSystem.cs b/Content.Server/Administration/AdminVerbSystem.cs index 233b64113b..b84b5e3842 100644 --- a/Content.Server/Administration/AdminVerbSystem.cs +++ b/Content.Server/Administration/AdminVerbSystem.cs @@ -106,7 +106,7 @@ namespace Content.Server.Administration verb.Text = Loc.GetString("make-sentient-verb-get-data-text"); verb.Category = VerbCategory.Debug; verb.IconTexture = "/Textures/Interface/VerbIcons/sentient.svg.192dpi.png"; - verb.Act = () => MakeSentientCommand.MakeSentient(args.Target); + verb.Act = () => MakeSentientCommand.MakeSentient(args.Target.Uid, EntityManager); args.Verbs.Add(verb); } diff --git a/Content.Server/Ghost/Roles/Components/GhostRoleMobSpawnerComponent.cs b/Content.Server/Ghost/Roles/Components/GhostRoleMobSpawnerComponent.cs index 26dc0011c2..ce2d82e24e 100644 --- a/Content.Server/Ghost/Roles/Components/GhostRoleMobSpawnerComponent.cs +++ b/Content.Server/Ghost/Roles/Components/GhostRoleMobSpawnerComponent.cs @@ -47,7 +47,7 @@ namespace Content.Server.Ghost.Roles.Components var mob = Owner.EntityManager.SpawnEntity(Prototype, Owner.Transform.Coordinates); if(_makeSentient) - MakeSentientCommand.MakeSentient(mob); + MakeSentientCommand.MakeSentient(mob.Uid, Owner.EntityManager); mob.EnsureComponent();