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

@@ -164,7 +164,7 @@ namespace Content.Server.Cloning
if (body is null)
return;
if (!TryComp<MindContainerComponent>(body, out var mindComp))
if (!TryComp<MindComponent>(body, out var mindComp))
return;
var mind = mindComp.Mind;
@@ -214,7 +214,7 @@ namespace Content.Server.Cloning
{
scanBodyInfo = MetaData(scanBody.Value).EntityName;
TryComp<MindContainerComponent>(scanBody, out var mindComp);
TryComp<MindComponent>(scanBody, out var mindComp);
if (!_mobStateSystem.IsDead(scanBody.Value))
{