action refactor proper ecs edition (#27422)
This commit is contained in:
@@ -42,7 +42,7 @@ public abstract class SharedBedSystem : EntitySystem
|
||||
|
||||
private void OnUnstrapped(Entity<HealOnBuckleComponent> bed, ref UnstrappedEvent args)
|
||||
{
|
||||
_actionsSystem.RemoveAction(args.Buckle, bed.Comp.SleepAction);
|
||||
_actionsSystem.RemoveAction(args.Buckle.Owner, bed.Comp.SleepAction);
|
||||
_sleepingSystem.TryWaking(args.Buckle.Owner);
|
||||
RemComp<HealOnBuckleHealingComponent>(bed);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user