Merge branch 'dev' of git.kingsome.cn:server/game2006api into dev
This commit is contained in:
commit
df33034667
@ -647,13 +647,16 @@ class MissionService extends BaseService {
|
|||||||
{
|
{
|
||||||
//武器
|
//武器
|
||||||
++$gunCount;
|
++$gunCount;
|
||||||
array_push(
|
$gunDb = Gun::find($id);
|
||||||
$mission['objects'],
|
if ($gunDb) {
|
||||||
array(
|
array_push(
|
||||||
'type' => $type,
|
$mission['objects'],
|
||||||
'id' => $id
|
array(
|
||||||
)
|
'type' => $type,
|
||||||
);
|
'id' => $id
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user