Skip to content

Commit

Permalink
revert editor formating
Browse files Browse the repository at this point in the history
  • Loading branch information
Fansana committed Oct 11, 2024
1 parent 83bd1a5 commit 3d5c47b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Content.Server/Shuttles/Systems/ArrivalsSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ private void ArrivalsCommand(IConsoleShell shell, string argstr, string[] args)
RemCompDeferred<PendingClockInComponent>(uid);
shell.WriteLine(Loc.GetString("cmd-arrivals-forced", ("uid", ToPrettyString(uid))));
}

break;
default:
shell.WriteError(Loc.GetString($"cmd-arrivals-invalid"));
Expand Down Expand Up @@ -255,8 +254,7 @@ private void OnArrivalsFTL(EntityUid shuttleUid, ArrivalsShuttleComponent compon

private void OnArrivalsDocked(EntityUid uid, ArrivalsShuttleComponent component, ref FTLCompletedEvent args)
{
TimeSpan dockTime = component.NextTransfer - _timing.CurTime +
TimeSpan.FromSeconds(ShuttleSystem.DefaultStartupTime);
TimeSpan dockTime = component.NextTransfer - _timing.CurTime + TimeSpan.FromSeconds(ShuttleSystem.DefaultStartupTime);

if (TryComp<DeviceNetworkComponent>(uid, out var netComp))
{
Expand Down Expand Up @@ -565,8 +563,7 @@ private void SetupShuttle(EntityUid uid, StationArrivalsComponent component)
arrivalsComp.Station = uid;
EnsureComp<ProtectedGridComponent>(uid);
_shuttles.FTLToDock(component.Shuttle, shuttleComp, arrivals, hyperspaceTime: RoundStartFTLDuration);
arrivalsComp.NextTransfer =
_timing.CurTime + TimeSpan.FromSeconds(_cfgManager.GetCVar(CCVars.ArrivalsCooldown));
arrivalsComp.NextTransfer = _timing.CurTime + TimeSpan.FromSeconds(_cfgManager.GetCVar(CCVars.ArrivalsCooldown));
}

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

0 comments on commit 3d5c47b

Please sign in to comment.