Fix: use_fuel() didn't exit if fuel exhausted

This commit is contained in:
LmeSzinc 2024-07-19 15:27:54 +08:00
parent 6df40750e7
commit 8c5d516300

View File

@ -189,6 +189,7 @@ class Fuel(UI):
if use <= 0:
logger.info("Fuel remain is under the reserve threshold, stop using fuel")
self._fuel_cancel()
return False
skip_first_screenshot = True
while 1: