1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2025-12-16 15:35:12 +00:00

fix(bounty): add error handler when enter sweep failed

This commit is contained in:
YoursFunny 2023-11-21 14:21:22 +08:00
parent 589b0b08ec
commit d0c591af3a
Signed by: YoursFunny
GPG Key ID: 207EDC3CD5B40F9C

View File

@ -80,6 +80,8 @@ class Bounty(BountyUI):
case BountyStatus.ENTER:
if self.enter_stage(self.current_stage):
return BountyStatus.SWEEP
else:
self.error_handler()
case BountyStatus.SWEEP:
if self.do_sweep(self.current_count):
self.task.pop(0)