Remove GalacticMarket component (#7914)

This commit is contained in:
20kdc
2022-05-04 03:51:25 +01:00
committed by GitHub
parent 10847e004f
commit 2e0fcbab5a
9 changed files with 47 additions and 353 deletions

View File

@@ -68,7 +68,6 @@ namespace Content.Server.Cargo.Components
{
base.Initialize();
Owner.EnsureComponentWarn(out GalacticMarketComponent _);
Owner.EnsureComponentWarn(out CargoOrderDatabaseComponent _);
if (UserInterface != null)

View File

@@ -1,15 +0,0 @@
using Content.Shared.Cargo.Components;
using Robust.Shared.GameObjects;
using Robust.Shared.Players;
namespace Content.Server.Cargo.Components
{
[RegisterComponent]
public sealed class GalacticMarketComponent : SharedGalacticMarketComponent
{
public override ComponentState GetComponentState()
{
return new GalacticMarketState(GetProductIdList());
}
}
}