From 496a47bdb98a345fa839d0ebd76957f90520454f Mon Sep 17 00:00:00 2001 From: LmeSzinc Date: Tue, 2 Jun 2020 02:06:38 +0800 Subject: [PATCH] Revert "Fix: Timer for reward" This reverts commit cad6d052 --- 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 cf0ec175d..05b44e4b2 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.5, count=5) + exit_timer = Timer(1, count=3) click_timer = Timer(1) exit_timer.start() btn = [] diff --git a/module/reward/tactical_class.py b/module/reward/tactical_class.py index 9d4a0a097..4f19024ab 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=6) + tactical_animation_timer = Timer(2, count=3) def _tactical_animation_running(self): """