This commit is contained in:
aozhiwei 2024-01-02 15:21:37 +08:00
parent f11e84c45e
commit 5dae9b1edd

View File

@ -145,7 +145,8 @@ class MatchController extends BaseAuthedController {
foreach ($currMatchDb as $key => $val) { foreach ($currMatchDb as $key => $val) {
$tmpTeamDb = $this->readTeamDb($r, $key); $tmpTeamDb = $this->readTeamDb($r, $key);
if ($tmpTeamDb['zid'] != $teamDb['zid'] || if ($tmpTeamDb['zid'] != $teamDb['zid'] ||
$tmpTeamDb['node_id'] != $teamDb['node_id']) { $tmpTeamDb['node_id'] != $teamDb['node_id'] ||
$tmpTeamDb['map_id'] != $teamDb['map_id']) {
continue; continue;
} }
if (!empty($tmpTeamDb) && $this->_getNowTime() - $val['match_time'] > 120) { if (!empty($tmpTeamDb) && $this->_getNowTime() - $val['match_time'] > 120) {