Mind ecs (#14412)
This commit is contained in:
@@ -48,7 +48,7 @@ namespace Content.Server.Ghost.Roles.Components
|
||||
if (MakeSentient)
|
||||
MakeSentientCommand.MakeSentient(mob, _entMan, AllowMovement, AllowSpeech);
|
||||
|
||||
mob.EnsureComponent<MindComponent>();
|
||||
mob.EnsureComponent<MindContainerComponent>();
|
||||
|
||||
var ghostRoleSystem = EntitySystem.Get<GhostRoleSystem>();
|
||||
ghostRoleSystem.GhostRoleInternalCreateMindAndTransfer(session, Owner, mob, this);
|
||||
|
||||
Reference in New Issue
Block a user