Revert "Mind ecs" (#14881)

This commit is contained in:
Leon Friedrich
2023-03-27 10:24:00 +13:00
committed by GitHub
parent c6c8fa2075
commit 4d71b1b81e
85 changed files with 684 additions and 1150 deletions

View File

@@ -48,7 +48,7 @@ namespace Content.Server.Ghost.Roles.Components
if (MakeSentient)
MakeSentientCommand.MakeSentient(mob, _entMan, AllowMovement, AllowSpeech);
mob.EnsureComponent<MindContainerComponent>();
mob.EnsureComponent<MindComponent>();
var ghostRoleSystem = EntitySystem.Get<GhostRoleSystem>();
ghostRoleSystem.GhostRoleInternalCreateMindAndTransfer(session, Owner, mob, this);

View File

@@ -17,7 +17,7 @@ namespace Content.Server.Ghost.Roles.Components
Taken = true;
var mind = Owner.EnsureComponent<MindContainerComponent>();
var mind = Owner.EnsureComponent<MindComponent>();
if (mind.HasMind)
return false;