Update CP14ExpeditionSystem.cs

This commit is contained in:
Ed
2024-08-29 14:40:38 +03:00
parent ca656b3c10
commit 29456c44d7

View File

@@ -3,6 +3,7 @@ using Content.Server.Shuttles.Components;
using Content.Server.Shuttles.Events;
using Content.Server.Shuttles.Systems;
using Content.Server.Spawners.Components;
using Content.Server.Spawners.EntitySystems;
using Content.Server.Station.Events;
using Content.Server.Station.Systems;
using Content.Shared.CCVar;
@@ -42,6 +43,8 @@ public sealed class CP14ExpeditionSystem : EntitySystem
SubscribeLocalEvent<CP14StationExpeditionTargetComponent, FTLCompletedEvent>(OnExpeditionShipLanded);
SubscribeLocalEvent<PlayerSpawningEvent>(HandlePlayerSpawning, before: new []{ typeof(SpawnPointSystem) });
ArrivalTime = _cfgManager.GetCVar(CCVars.CP14ExpeditionArrivalTime);
Enabled = _cfgManager.GetCVar(CCVars.CP14ExpeditionShip);