Skip to content

Commit e73b010

Browse files
committed
Small update for station shuttle spawn
1 parent c4a395a commit e73b010

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Content.Server/Starshine/Shuttles/Systems/StationShuttleDockSystem.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using Content.Server.Starshine.Shuttles.Components;
44
using Content.Server.Station.Components;
55
using Content.Server.Station.Events;
6+
using Content.Server.Station.Systems;
67
using Robust.Server.GameObjects;
78
using TimedDespawnComponent = Robust.Shared.Spawners.TimedDespawnComponent;
89

@@ -16,6 +17,7 @@ public sealed class StationShuttleDock : EntitySystem
1617
[Dependency] private readonly SharedMapSystem _mapSystem = default!;
1718
[Dependency] private readonly MapLoaderSystem _loader = default!;
1819
[Dependency] private readonly ShuttleSystem _shuttles = default!;
20+
[Dependency] private readonly StationSystem _station = default!;
1921

2022
/// <summary>
2123
/// The first arrival is a little early, to save everyone 10s
@@ -60,6 +62,7 @@ private void SetupShuttle(EntityUid uid, StationShuttleDockComponent component)
6062
component.Shuttle = shuttleUids[0];
6163
var shuttleComp = Comp<ShuttleComponent>(component.Shuttle);
6264
_shuttles.FTLToDock(component.Shuttle, shuttleComp, station, hyperspaceTime: RoundStartFTLDuration, priorityTag: component.TargetTag);
65+
_station.AddGridToStation(uid, component.Shuttle);
6366
}
6467

6568
// Don't start the arrivals shuttle immediately docked so power has a time to stabilise?

0 commit comments

Comments
 (0)