Predict subdermal implants (#37538)
This commit is contained in:
parent
89ec0dfde4
commit
c32aa7b35c
|
|
@ -40,7 +40,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))
|
||||
|
|
@ -56,7 +56,7 @@ public abstract class SharedSubdermalImplantSystem : EntitySystem
|
|||
if (_tag.HasTag(implant, MicroBombTag))
|
||||
{
|
||||
_container.Remove(implant, implantContainer);
|
||||
QueueDel(implant);
|
||||
PredictedQueueDel(implant);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue