From cad6d052a600945250deb7e2d9cc78a7212ad348 Mon Sep 17 00:00:00 2001 From: LmeSzinc Date: Tue, 2 Jun 2020 01:11:02 +0800 Subject: [PATCH] Fix: Timer for reward --- module/reward/reward.py | 2 +- module/reward/tactical_class.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/reward/reward.py b/module/reward/reward.py index 05b44e4b2..cf0ec175d 100644 --- a/module/reward/reward.py +++ b/module/reward/reward.py @@ -52,7 +52,7 @@ class Reward(RewardCommission, RewardTacticalClass): logger.hr('Reward receive') reward = False - exit_timer = Timer(1, count=3) + exit_timer = Timer(1.5, count=5) click_timer = Timer(1) exit_timer.start() btn = [] diff --git a/module/reward/tactical_class.py b/module/reward/tactical_class.py index 4f19024ab..9d4a0a097 100644 --- a/module/reward/tactical_class.py +++ b/module/reward/tactical_class.py @@ -148,7 +148,7 @@ class BookGroup: class RewardTacticalClass(UI, InfoHandler): - tactical_animation_timer = Timer(2, count=3) + tactical_animation_timer = Timer(2, count=6) def _tactical_animation_running(self): """