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