diff --git a/webapp/services/BattleBoxService.php b/webapp/services/BattleBoxService.php index 9a03acc0..0803d769 100644 --- a/webapp/services/BattleBoxService.php +++ b/webapp/services/BattleBoxService.php @@ -105,6 +105,10 @@ class BattleBoxService { self::setDailyPhaseAllocNum($currPhase, myself()->_getNowDaySeconds(), $allocableNum); } } else { + error_log(json_encode(array( + 'allocableNum' => $allocableNum, + 'alreadyAllocNum' => $alreadyAllocNum, + ))); $allocableNum = max(0, $allocableNum - $alreadyAllocNum); } if ($allocableNum > 0) {