Move some Station methods into shared (#38976)
This commit is contained in:
@@ -14,7 +14,6 @@ using Content.Server.RoundEnd;
|
||||
using Content.Server.Screens.Components;
|
||||
using Content.Server.Shuttles.Components;
|
||||
using Content.Server.Shuttles.Events;
|
||||
using Content.Server.Station.Components;
|
||||
using Content.Server.Station.Events;
|
||||
using Content.Server.Station.Systems;
|
||||
using Content.Shared.Access.Systems;
|
||||
@@ -181,7 +180,7 @@ public sealed partial class EmergencyShuttleSystem : EntitySystem
|
||||
return;
|
||||
}
|
||||
|
||||
var targetGrid = _station.GetLargestGrid(Comp<StationDataComponent>(station.Value));
|
||||
var targetGrid = _station.GetLargestGrid(station.Value);
|
||||
if (targetGrid == null)
|
||||
return;
|
||||
|
||||
@@ -270,7 +269,7 @@ public sealed partial class EmergencyShuttleSystem : EntitySystem
|
||||
return null;
|
||||
}
|
||||
|
||||
var targetGrid = _station.GetLargestGrid(Comp<StationDataComponent>(stationUid));
|
||||
var targetGrid = _station.GetLargestGrid(stationUid);
|
||||
|
||||
// UHH GOOD LUCK
|
||||
if (targetGrid == null)
|
||||
|
||||
Reference in New Issue
Block a user