Merge branch 'dev' of git.kingsome.cn:server/game2006api into dev

This commit is contained in:
aozhiwei 2022-06-06 09:52:38 +08:00
commit df33034667

View File

@ -647,13 +647,16 @@ class MissionService extends BaseService {
{
//武器
++$gunCount;
array_push(
$mission['objects'],
array(
'type' => $type,
'id' => $id
)
);
$gunDb = Gun::find($id);
if ($gunDb) {
array_push(
$mission['objects'],
array(
'type' => $type,
'id' => $id
)
);
}
}
break;
case 1: