Remove GalacticMarket component (#7914)
This commit is contained in:
@@ -68,7 +68,6 @@ namespace Content.Server.Cargo.Components
|
||||
{
|
||||
base.Initialize();
|
||||
|
||||
Owner.EnsureComponentWarn(out GalacticMarketComponent _);
|
||||
Owner.EnsureComponentWarn(out CargoOrderDatabaseComponent _);
|
||||
|
||||
if (UserInterface != null)
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user