Auto comp (#6416)
This commit is contained in:
@@ -9,12 +9,11 @@ namespace Content.Client.Spawners
|
||||
/// Spawns a set of entities on the client only, and removes them when this component is removed.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
[ComponentProtoName("ClientEntitySpawner")]
|
||||
public class ClientEntitySpawnerComponent : Component
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entMan = default!;
|
||||
|
||||
public override string Name => "ClientEntitySpawner";
|
||||
|
||||
[DataField("prototypes")] private List<string> _prototypes = new() { "HVDummyWire" };
|
||||
|
||||
private readonly List<EntityUid> _entity = new();
|
||||
|
||||
Reference in New Issue
Block a user