Гойда

This commit is contained in:
Aviu00
2024-01-18 10:52:41 +03:00
parent 587195e7dd
commit 7bfdbf7d47
8 changed files with 12 additions and 15 deletions

View File

@@ -6,7 +6,7 @@ using Robust.Shared.Utility;
namespace Content.Server.Worldgen.Components;
[RegisterComponent]
public sealed class BlueprintPlacerComponent : Component
public sealed partial class BlueprintPlacerComponent : Component
{
[DataField("blueprint", required: true, customTypeSerializer: typeof(ResPathSerializer))]
public ResPath Blueprint = default!;
@@ -15,7 +15,7 @@ public sealed class BlueprintPlacerComponent : Component
/// The components that get added to the target grid.
/// </summary>
[DataField("components", required: true)]
public ComponentRegistry Components { get; } = default!;
public ComponentRegistry Components { get; set; } = default!;
//TODO: Get someone to make this a method on componentregistry that does it Correctly.
/// <summary>