1
This commit is contained in:
parent
ed24fd5b48
commit
0bc3f6075b
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user