Skip to content

Commit

Permalink
Brain trees only found in odyssey
Browse files Browse the repository at this point in the history
  • Loading branch information
lekeno committed Mar 10, 2024
1 parent 636a1e8 commit 8d3d5cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions edr/edrresourcefinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,8 @@ def recommend_prospecting_planet(self, resource, reference_system, callback):
best_distance = None
best = None
for planet in candidates:
if planet['name'] == "brain tree site" and (not self.dlc or self.dlc.lower() != "odyssey"):
continue
distance = self.edr_systems.distance(reference_system, planet['name'])
if best_distance is None or distance < best_distance:
best_distance = distance
Expand Down

0 comments on commit 8d3d5cc

Please sign in to comment.