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

@@ -0,0 +1,13 @@
using Robust.Shared.GameStates;
namespace Content.Shared.Projectiles;
/// <summary>
/// Stores a list of all stuck entities to release when this entity is deleted.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class EmbeddedContainerComponent : Component
{
[DataField, AutoNetworkedField]
public HashSet<EntityUid> EmbeddedObjects = new();
}