Kaynağa Gözat

任务bug修复

cyzhao 1 yıl önce
ebeveyn
işleme
78cba11d3b

+ 1 - 1
Gameserver/App/model/User/Ins_TaskCard.php

@@ -48,7 +48,7 @@ class Ins_TaskCard extends Object_ext {
         if (isInt($args)) {
             $this->typeId = $args;
             $arr = array();
-            $cfg = GameConfig::item_taskcard_getItem($this->typeId);
+            $cfg = GameConfig::taskcard_getItem($this->typeId);
             my_Assert(null != $cfg, ErrCode::err_const_no);
             foreach (explode(',', $cfg->tasksteps) as $taskStepTypeId) {
                 $arr [] = new Ins_TaskStep($taskStepTypeId);

+ 0 - 2
Gameserver/App/model/User/Ins_TaskStep.php

@@ -8,8 +8,6 @@ namespace loyalsoft;
  */
 class Ins_TaskStep extends Object_ext {
     
-    public $uid = 0;
-
     /**
      * @var type 查询用的id
      */