Selaa lähdekoodia

区域名子处理

cyzhao 1 viikko sitten
vanhempi
commit
b00e33fddc
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 6 0
      Gameserver/App/model/User/Info_Store.php

+ 6 - 0
Gameserver/App/model/User/Info_Store.php

@@ -195,6 +195,12 @@ class Info_Store extends Object_ext {
             if(!StlUtil::dictHasProperty($this->exploreArea, $areaId)){
                 $Ins_ExploreArea = new Ins_ExploreArea($areaArr[0]);
                 $this->exploreArea->$areaId = $Ins_ExploreArea;
+            } else {                             
+                $Ins_ExploreArea = new Ins_ExploreArea($this->exploreArea->$areaId);
+                if(StlUtil::dictHasProperty($Ins_ExploreArea, "output_num")){
+                    StlUtil::dictRemove($Ins_ExploreArea,"output_num");
+                }               
+                $this->exploreArea->$areaId = $Ins_ExploreArea;
             }                          
         }
     }