mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-15 22:19:18 +00:00
Fix: use_fuel() didn't exit if fuel exhausted
This commit is contained in:
parent
6df40750e7
commit
8c5d516300
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user