王刚 1 년 전
부모
커밋
d18efb764a
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      Gameserver/App/model/User/Data_UserGame.php

+ 3 - 2
Gameserver/App/model/User/Data_UserGame.php

@@ -90,6 +90,7 @@ class Data_UserGame extends HashSaver {
             $this->privateData()->fixArray();
             $this->gates()->fixArray();
             $this->heros()->fixArray();
+            $this->task()->fixArray()();
         }
     }
 
@@ -189,9 +190,9 @@ class Data_UserGame extends HashSaver {
     /**
      * 任务卡商店
      * @param bool $save 是否需要回存
-     * @return Info_TaskCard_Shop
+     * @return Info_Task
      */
-    public function taskCard($save = true) {
+    public function task($save = true) {
         $this->task = new Info_Task($this->task);
         if ($save) {
             $this->save_tag("task");