Skip to content

Commit

Permalink
Merge branch 'release/42.6.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
alaingilbert committed Dec 9, 2020
2 parents bf33724 + d29d6c2 commit e466844
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions fleetBuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,7 @@ func (f *FleetBuilder) FlightTime() (secs, fuel int64) {
ships, _ = f.b.GetShips(f.origin.GetID())
}
}
secs, fuel = f.b.FlightTime(f.origin.GetCoordinate(), f.destination, f.speed, ships)
if (f.mission == Expedition || f.mission == ParkInThatAlly) && f.holdingTime > 0 {
secs += f.holdingTime * 3600
}
return
return f.b.FlightTime(f.origin.GetCoordinate(), f.destination, f.speed, ships)
}

func (f *FleetBuilder) sendNow(tx Prioritizable) error {
Expand Down

0 comments on commit e466844

Please sign in to comment.