From c70e06b2d7c49d1bdcaaf0eb92b067ccf83042a2 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sun, 18 May 2025 11:55:23 +1000 Subject: [PATCH] Predict subdermal implants (#37538) --- Content.Shared/Implants/SharedSubdermalImplantSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } }