From a1c99dd9aef9a3af91d3ddb07b12e6a26e518797 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 8 Oct 2024 15:43:31 +0800 Subject: [PATCH] 1 --- webapp/services/BattleBoxService.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp/services/BattleBoxService.php b/webapp/services/BattleBoxService.php index 554202bd..af74c08a 100644 --- a/webapp/services/BattleBoxService.php +++ b/webapp/services/BattleBoxService.php @@ -20,6 +20,8 @@ class BattleBoxService { $currPhase = self::getCurrentPhase(); $startTime = 0; $endTime = 0; + + $allocableNum = self::getDailyPhaseAllocNum($currPhase, myself()->_getNowDaySeconds()); $alreadyAllocNum = self::getDailyPhaseAlreadyAllocNum($currPhase, myself()->_getNowDaySeconds()); if ($allocableNum <= 0) {