]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Remove bad Dirty call introduced by PR #20778 (#24076)
authorMagnus Larsen <golgothasTerror101@gmail.com>
Sun, 14 Jan 2024 10:51:38 +0000 (10:51 +0000)
committerGitHub <noreply@github.com>
Sun, 14 Jan 2024 10:51:38 +0000 (21:51 +1100)
The HealOnBuckleHealingComponent is not in Shared/Client code, need not
be networked, and cannot be dirty.

Content.Server/Bed/BedSystem.cs

index e7d1e3be3c394e1bfd54a19d0982e448f0221168..9616d6ffa197cfeab84af43cef3f6326f1c683c3 100644 (file)
@@ -44,7 +44,6 @@ namespace Content.Server.Bed
                 AddComp<HealOnBuckleHealingComponent>(uid);
                 component.NextHealTime = _timing.CurTime + TimeSpan.FromSeconds(component.HealTime);
                 _actionsSystem.AddAction(args.BuckledEntity, ref component.SleepAction, SleepingSystem.SleepActionId, uid);
-                Dirty(uid, component);
                 return;
             }