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

@@ -222,7 +222,7 @@ public sealed class DefibrillatorSystem : EntitySystem
_mobState.ChangeMobState(target, MobState.Critical, mob, uid);
_mobThreshold.SetAllowRevives(target, false, thresholds);
if (TryComp<MindComponent>(target, out var mindComp) &&
if (TryComp<MindContainerComponent>(target, out var mindComp) &&
mindComp.Mind?.Session is { } playerSession)
{
session = playerSession;