Przeglądaj źródła

孵化字段初始话bug修复

cyzhao 2 miesięcy temu
rodzic
commit
6d44ea970a
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      Gameserver/App/model/User/Info_Store.php

+ 2 - 1
Gameserver/App/model/User/Info_Store.php

@@ -141,8 +141,9 @@ class Info_Store extends Object_ext {
             }
             
             $str = GameConfig::glc2()->Pet_BreedLocationUnlockInfo;
+            $this->breedEggLocation = new \stdClass();
             if($str != null){
-                $list[] = explode(';', $str);
+                $list = explode(';', $str);
                 foreach ($list as $value) {
                     $s = explode(',', $value);
                     $k = $s[0];