From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sun, 18 May 2025 01:55:23 +0000 (+1000) Subject: Predict subdermal implants (#37538) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=c70e06b2d7c49d1bdcaaf0eb92b067ccf83042a2;p=space-station-14.git Predict subdermal implants (#37538) --- diff --git a/Content.Shared/Implants/SharedSubdermalImplantSystem.cs b/Content.Shared/Implants/SharedSubdermalImplantSystem.cs index e23357448f..f874c8d6a8 100644 --- a/Content.Shared/Implants/SharedSubdermalImplantSystem.cs +++ b/Content.Shared/Implants/SharedSubdermalImplantSystem.cs @@ -38,7 +38,7 @@ public abstract class SharedSubdermalImplantSystem : EntitySystem private void OnInsert(EntityUid uid, SubdermalImplantComponent component, EntGotInsertedIntoContainerMessage args) { - if (component.ImplantedEntity == null || _net.IsClient) + if (component.ImplantedEntity == null) return; if (!string.IsNullOrWhiteSpace(component.ImplantAction)) @@ -54,7 +54,7 @@ public abstract class SharedSubdermalImplantSystem : EntitySystem if (_tag.HasTag(implant, MicroBombTag)) { _container.Remove(implant, implantContainer); - QueueDel(implant); + PredictedQueueDel(implant); } } }