Update base.py

This commit is contained in:
Richard Bronkhorst 2023-06-26 20:19:13 +02:00
parent 9e6583ac24
commit 9b9a149e3f

View File

@ -224,7 +224,7 @@ class BaseMission(Mission):
self.api.dock(self.ship)
def step_refuel(self):
if self.ship.fuel_current < 100:
if self.ship.fuel_current / self.ship.fuel_capacity < 0.5:
try:
self.api.refuel(self.ship)
except Exception as e: