mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-10 07:02:06 +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
|
pass
|
||||||
|
|
||||||
|
@Config.when(Emulator_GameLanguage='jp')
|
||||||
|
def close_popup(self, check_button):
|
||||||
|
pass
|
||||||
|
|
||||||
|
@Config.when(Emulator_GameLanguage=None)
|
||||||
def close_popup(self, check_button):
|
def close_popup(self, check_button):
|
||||||
if not self.match_color(check_button):
|
if not self.match_color(check_button):
|
||||||
timer = Timer(5, 5).start()
|
timer = Timer(5, 5).start()
|
||||||
@@ -464,3 +469,4 @@ class UI(MainPage):
|
|||||||
raise RequestHumanTakeover
|
raise RequestHumanTakeover
|
||||||
while not wait.reached():
|
while not wait.reached():
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user