From 20b5d352bd1f40c0e14ee7f8ec04bd4b3c458880 Mon Sep 17 00:00:00 2001 From: Sh1ntra Date: Mon, 27 May 2024 03:46:23 +0300 Subject: [PATCH] fix errors --- .../Worldgen/Systems/Debris/DebrisFeaturePlacerSystem.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Content.Server/Worldgen/Systems/Debris/DebrisFeaturePlacerSystem.cs b/Content.Server/Worldgen/Systems/Debris/DebrisFeaturePlacerSystem.cs index da9134698ec..7aaefb06e9f 100644 --- a/Content.Server/Worldgen/Systems/Debris/DebrisFeaturePlacerSystem.cs +++ b/Content.Server/Worldgen/Systems/Debris/DebrisFeaturePlacerSystem.cs @@ -1,7 +1,6 @@ using System.Linq; using System.Numerics; using Content.Server.Worldgen.Components; -using Content.Server.Worldgen.Components.Debris; using Content.Server.Worldgen.Systems.GC; using Content.Server.Worldgen.Tools; using JetBrains.Annotations; @@ -10,7 +9,8 @@ using Robust.Shared.Map.Components; using Robust.Shared.Random; using Robust.Shared.Utility; -using Content.Server._NF.Worldgen.Components.Debris; // Frontier +using Content.Server.Worldgen.Components.Debris; +using Content.Server._NF.Worldgen.Components.Debris; namespace Content.Server.Worldgen.Systems.Debris; @@ -229,7 +229,7 @@ private void OnChunkLoaded(EntityUid uid, DebrisFeaturePlacerControllerComponent owned.OwningController = uid; owned.LastKey = point; - EnsureComp<_NF.Worldgen.Components.Debris.SpaceDebrisComponent>(ent); // Frontier + EnsureComp(ent); // Frontier } if (failures > 0)