revert HoldingTime part of FlightTime
@@ -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 {
