mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-10 02:42:05 +00:00
fix: disable close_popup() for jp to fix ensure_page()
This commit is contained in:
@@ -450,6 +450,11 @@ class UI(MainPage):
|
||||
"""
|
||||
pass
|
||||
|
||||
@Config.when(Emulator_GameLanguage='jp')
|
||||
def close_popup(self, check_button):
|
||||
pass
|
||||
|
||||
@Config.when(Emulator_GameLanguage=None)
|
||||
def close_popup(self, check_button):
|
||||
if not self.match_color(check_button):
|
||||
timer = Timer(5, 5).start()
|
||||
@@ -464,3 +469,4 @@ class UI(MainPage):
|
||||
raise RequestHumanTakeover
|
||||
while not wait.reached():
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user