1
This commit is contained in:
parent
a6f668002e
commit
6ce2a98fd1
@ -592,8 +592,8 @@ class MissionService extends BaseService {
|
||||
$metas = mt\Task::getOfferRewardMissions
|
||||
($this->offerRewartdMission['missions']);
|
||||
$selectMeta = null;
|
||||
foreach (array_rand($metas, count($metas)) as $key) {
|
||||
$meta = $metas[$key];
|
||||
shuffle($metas);
|
||||
foreach ($metas as $meta) {
|
||||
if (!$this->inOfferRewardMission($meta['id'])) {
|
||||
$selectMeta = $meta;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user