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

refactor(sweep): change parameter order

This commit is contained in:
YoursFunny 2023-11-21 13:54:59 +08:00
parent e61afaf43b
commit 299bd6c687
Signed by: YoursFunny
GPG Key ID: 207EDC3CD5B40F9C
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ class BountyUI(UI):
return False
def enter_stage(self, index: int) -> bool:
if BOUNTY_LIST.select_index_enter(index, self):
if BOUNTY_LIST.select_index_enter(self, index):
return True
return False

View File

@ -148,8 +148,8 @@ class StageList:
def select_index_enter(
self,
index: int,
main: ModuleBase,
index: int,
insight: bool = True,
sweepable: bool = True,
offset: tuple[int, int] = (-20, -15),