瀏覽代碼

区域名子处理

cyzhao 1 周之前
父節點
當前提交
b00e33fddc
共有 1 個文件被更改,包括 6 次插入0 次删除
  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;
             }                          
         }
     }