This commit is contained in:
ShadowCommander
2023-06-18 11:33:19 -07:00
committed by GitHub
parent 8a943fb374
commit dd7032a860
85 changed files with 1432 additions and 711 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);