The HealOnBuckleHealingComponent is not in Shared/Client code, need not be networked, and cannot be dirty.
This commit is contained in:
@@ -44,7 +44,6 @@ namespace Content.Server.Bed
|
|||||||
AddComp<HealOnBuckleHealingComponent>(uid);
|
AddComp<HealOnBuckleHealingComponent>(uid);
|
||||||
component.NextHealTime = _timing.CurTime + TimeSpan.FromSeconds(component.HealTime);
|
component.NextHealTime = _timing.CurTime + TimeSpan.FromSeconds(component.HealTime);
|
||||||
_actionsSystem.AddAction(args.BuckledEntity, ref component.SleepAction, SleepingSystem.SleepActionId, uid);
|
_actionsSystem.AddAction(args.BuckledEntity, ref component.SleepAction, SleepingSystem.SleepActionId, uid);
|
||||||
Dirty(uid, component);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user