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) {