This commit is contained in:
ShadowCommander
2023-03-26 11:31:13 -07:00
committed by GitHub
parent 0e5dc41fe8
commit bfc4da9377
85 changed files with 1150 additions and 684 deletions

View File

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