From b3fb9f7f9c264640d595d481179aaf87c57292c3 Mon Sep 17 00:00:00 2001 From: songliang Date: Mon, 19 Dec 2022 14:15:27 +0800 Subject: [PATCH] ... --- webapp/models/Gun.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/models/Gun.php b/webapp/models/Gun.php index 6dc8a9a6..0290146a 100644 --- a/webapp/models/Gun.php +++ b/webapp/models/Gun.php @@ -706,7 +706,7 @@ class Gun extends BaseModel { 'quality' => $row['quality'], 'lucky' => strval($gunLucky), 'durability' => $row['durability'], - 'rand_attr' => $rand_attr, + 'rand_attr' => array_values($rand_attr), 'chip_core' => $chip_core ? $coreAttr : $chip_core, 'current_pvp_get_ceg' => $todayGetGold / 100, 'current_pve_get_ceg' => $todayPveGetCeg / 100,