[HOTFIX] Fix maroon objective, change the text (#36990)
* test * text * capital C * guh
This commit is contained in:
@@ -648,18 +648,11 @@ public sealed partial class EmergencyShuttleSystem : EntitySystem
|
||||
if (!EmergencyShuttleArrived)
|
||||
return false;
|
||||
|
||||
// check each emergency shuttle
|
||||
// check if target is on an emergency shuttle
|
||||
var xform = Transform(target);
|
||||
foreach (var stationData in EntityQuery<StationEmergencyShuttleComponent>())
|
||||
{
|
||||
if (stationData.EmergencyShuttle == null)
|
||||
continue;
|
||||
|
||||
if (IsOnGrid(xform, stationData.EmergencyShuttle.Value))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if (HasComp<EmergencyShuttleComponent>(xform.GridUid))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user