Skip to content

Commit 358426a

Browse files
committed
sim: hacky workaround for HFR bug
1 parent 530365e commit 358426a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

pkg/sim/spawn.go

+7-4
Original file line numberDiff line numberDiff line change
@@ -525,10 +525,13 @@ func (s *Sim) spawnDepartures() {
525525

526526
// Handle hold for release aircraft
527527
for i, held := range depState.Held {
528-
if !now.After(held.AddToHFRListTime) {
529-
// Add them FIFO regardless of the times
530-
break
531-
}
528+
/*
529+
// Workaround STARSComputer not seeing HFRs and thus holding up launches.
530+
if !now.After(held.AddToHFRListTime) {
531+
// Add them FIFO regardless of the times
532+
break
533+
}
534+
*/
532535
if !held.AddedToList {
533536
depState.Held[i].AddedToList = true
534537
ac := s.State.Aircraft[depState.Held[i].Callsign]

0 commit comments

Comments
 (0)