@@ -218,11 +218,9 @@ public sealed class DefibrillatorSystem : EntitySystem
|
||||
}
|
||||
else
|
||||
{
|
||||
_mobThreshold.SetAllowRevives(target, true, thresholds);
|
||||
if (_mobState.IsDead(target, mob))
|
||||
_damageable.TryChangeDamage(target, component.ZapHeal, true, origin: uid);
|
||||
_mobState.ChangeMobState(target, MobState.Critical, mob, uid);
|
||||
_mobThreshold.SetAllowRevives(target, false, thresholds);
|
||||
|
||||
if (_mind.TryGetMind(target, out var mindId, out var mind) &&
|
||||
mind.Session is { } playerSession)
|
||||
|
||||
Reference in New Issue
Block a user