}
var podQuery = AllEntityQuery<EscapePodComponent>();
- var podLaunchOffset = 0.5f;
// Stagger launches coz funny
while (podQuery.MoveNext(out _, out var pod))
{
- pod.LaunchTime = _timing.CurTime + TimeSpan.FromSeconds(podLaunchOffset);
- podLaunchOffset += _random.NextFloat(0.5f, 2.5f);
+ pod.LaunchTime = _timing.CurTime + TimeSpan.FromSeconds(_random.NextFloat(0.05f, 0.75f));
}
}
var stationUid = _station.GetOwningStation(uid);
if (!TryComp<StationCentcommComponent>(stationUid, out var centcomm) ||
- Deleted(centcomm.Entity) || pod.LaunchTime == null || pod.LaunchTime < _timing.CurTime)
+ Deleted(centcomm.Entity) ||
+ pod.LaunchTime == null ||
+ pod.LaunchTime > _timing.CurTime)
{
continue;
}