From 1edd00e50cd0bc850d5d293a25cd5b70c7b7264f Mon Sep 17 00:00:00 2001 From: Checkraze <71046427+Cheackraze@users.noreply.github.com> Date: Sun, 1 Jan 2023 01:44:30 -0500 Subject: [PATCH] makes GetDocks and FoundOrganics public (#13260) --- Content.Server/Cargo/Systems/CargoSystem.Shuttle.cs | 2 +- .../Shuttles/Systems/ShuttleSystem.EmergencyShuttle.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Cargo/Systems/CargoSystem.Shuttle.cs b/Content.Server/Cargo/Systems/CargoSystem.Shuttle.cs index 0887fc56c8..0ab1ab07bc 100644 --- a/Content.Server/Cargo/Systems/CargoSystem.Shuttle.cs +++ b/Content.Server/Cargo/Systems/CargoSystem.Shuttle.cs @@ -534,7 +534,7 @@ public sealed partial class CargoSystem return FoundOrganics(component.Owner, mobQuery, xformQuery); } - private bool FoundOrganics(EntityUid uid, EntityQuery mobQuery, EntityQuery xformQuery) + public bool FoundOrganics(EntityUid uid, EntityQuery mobQuery, EntityQuery xformQuery) { var xform = xformQuery.GetComponent(uid); var childEnumerator = xform.ChildEnumerator; diff --git a/Content.Server/Shuttles/Systems/ShuttleSystem.EmergencyShuttle.cs b/Content.Server/Shuttles/Systems/ShuttleSystem.EmergencyShuttle.cs index 68d6f20230..59427c269e 100644 --- a/Content.Server/Shuttles/Systems/ShuttleSystem.EmergencyShuttle.cs +++ b/Content.Server/Shuttles/Systems/ShuttleSystem.EmergencyShuttle.cs @@ -379,7 +379,7 @@ public sealed partial class ShuttleSystem _commsConsole.UpdateCommsConsoleInterface(); } - private List GetDocks(EntityUid uid) + public List GetDocks(EntityUid uid) { var result = new List();