diff --git a/tradedb.py b/tradedb.py index cf7cb209..127c042e 100644 --- a/tradedb.py +++ b/tradedb.py @@ -923,8 +923,7 @@ def getRoute(self, origin, dest, maxJumpLy, avoiding=[], stationInterval=0): try: (prevSys, prevDist) = distances[nSys] if prevDist <= newDist: - if prevDist < newDist or prevSys.stations: - continue + continue except KeyError: pass if stationInterval and stnDist >= stationInterval and not curSys.stations: