Fix embeddable projectiles dissapearing (reopening) (#35153)

This commit is contained in:
Ed
2025-02-14 17:23:35 +03:00
committed by GitHub
parent 0227afec4c
commit 244d7a629e
3 changed files with 78 additions and 29 deletions

View File

@@ -81,7 +81,7 @@ public abstract partial class SharedItemRecallSystem : EntitySystem
return;
if (TryComp<EmbeddableProjectileComponent>(ent, out var projectile))
_proj.UnEmbed(ent, projectile, actionOwner.Value);
_proj.EmbedDetach(ent, projectile, actionOwner.Value);
_popups.PopupPredicted(Loc.GetString("item-recall-item-summon", ("item", ent)), actionOwner.Value, actionOwner.Value);