Sleep NPCs on attach (#12014)

This commit is contained in:
metalgearsloth
2022-10-19 10:07:44 +11:00
committed by GitHub
parent 78a139edb5
commit 4db3b30dc1
2 changed files with 21 additions and 4 deletions

View File

@@ -44,8 +44,6 @@ namespace Content.Server.Mind.Commands
public static void MakeSentient(EntityUid uid, IEntityManager entityManager, bool allowMovement = true, bool allowSpeech = true)
{
entityManager.RemoveComponent<NPCComponent>(uid);
entityManager.EnsureComponent<MindComponent>(uid);
if (allowMovement)
{