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:
parent
e61afaf43b
commit
299bd6c687
@ -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
|
||||
|
||||
|
||||
@ -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),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user