Fix Centcomm (#16772)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Content.Server.Shuttles.Components;
|
||||
using Content.Server.Station.Components;
|
||||
using Content.Shared.CCVar;
|
||||
|
||||
namespace Content.Server.Shuttles.Systems;
|
||||
@@ -39,6 +40,12 @@ public sealed partial class ShuttleSystem
|
||||
if (config != null)
|
||||
{
|
||||
FTLDock(config, shuttleXform);
|
||||
|
||||
if (TryComp<StationMemberComponent>(xform.GridUid, out var stationMember))
|
||||
{
|
||||
_station.AddGridToStation(stationMember.Station, ent[0]);
|
||||
}
|
||||
|
||||
valid = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user