From ce6cb8c4bfd1f105b054e4eaafeeaa2a8be99ee4 Mon Sep 17 00:00:00 2001 From: Zuosizhu <2839299264@qq.com> Date: Sat, 13 Apr 2024 11:54:12 +0800 Subject: [PATCH] Fix: Dashboard won't refresh after gacha when using gacha tickets(PR =9) --- module/gacha/gacha_reward.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module/gacha/gacha_reward.py b/module/gacha/gacha_reward.py index 70859ecae..1099a06f4 100644 --- a/module/gacha/gacha_reward.py +++ b/module/gacha/gacha_reward.py @@ -325,6 +325,9 @@ class RewardGacha(GachaUI, GeneralShop, Retirement): buy[0] = self.build_ticket_count # Calculate rolls allowed based on configurations and resources buy[1] = self.gacha_calculate(self.config.Gacha_Amount-self.build_ticket_count, gold_cost, cube_cost) + else: + LogRes(self.config).Cube = self.build_cube_count + self.config.update() # Submit 'buy_count' and execute if capable # Cannot use handle_popup_confirm, this window