Fix: Avoid double click BLESSING_CONFIRM

This commit is contained in:
LmeSzinc 2023-09-11 00:37:46 +08:00
parent c83edea596
commit 5988590b05
3 changed files with 6 additions and 0 deletions

View File

@ -188,6 +188,8 @@ class RogueBlessingSelector(RogueSelector):
interval.reset()
skip_first_screenshot = True
# Avoid double-clicking
interval = Timer(3, count=6)
# selected -> confirm
while 1:
if skip_first_screenshot:

View File

@ -56,6 +56,8 @@ class RogueBonusSelector(RogueSelector):
interval.reset()
skip_first_screenshot = True
# Avoid double-clicking
interval = Timer(3, count=6)
# select -> confirm
while 1:
if skip_first_screenshot:

View File

@ -92,6 +92,8 @@ class RogueCurioSelector(RogueSelector):
interval.reset()
skip_first_screenshot = True
# Avoid double-clicking
interval = Timer(3, count=6)
# selected -> confirm
while 1:
if skip_first_screenshot: