Allow do_afters to be spammed (#8074)
This commit is contained in:
@@ -92,7 +92,10 @@ public sealed class HealingSystem : EntitySystem
|
||||
|
||||
private bool TryHeal(EntityUid uid, EntityUid user, EntityUid target, HealingComponent component)
|
||||
{
|
||||
if (component.CancelToken != null) return false;
|
||||
if (component.CancelToken != null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (TryComp<MobStateComponent>(target, out var state) && state.IsDead())
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user