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

@@ -67,7 +67,7 @@ public sealed class EssenceSystem : EntitySystem
switch (mob.CurrentState)
{
case MobState.Alive:
if (TryComp<MindContainerComponent>(uid, out var mind) && mind.Mind != null)
if (TryComp<MindComponent>(uid, out var mind) && mind.Mind != null)
component.EssenceAmount = _random.NextFloat(75f, 100f);
else
component.EssenceAmount = _random.NextFloat(45f, 70f);