This commit is contained in:
aozhiwei 2024-10-09 13:26:14 +08:00
parent 52b8da81a9
commit d359937c1b

View File

@ -99,6 +99,7 @@ class BattleBoxService {
}
}
if ($boxNum > 0) {
if (getReqVal('c', '') != 'Tools') {
SqlHelper::insert(
myself()->_getSelfMysql(),
't_box_alloc',
@ -110,6 +111,7 @@ class BattleBoxService {
'modifytime' => myself()->_getNowTime(),
)
);
}
self::incAlreadyAllocNum($currPhase, myself()->_getNowDaySeconds(), $boxNum);
}
return $boxNum;