diff --git a/webapp/controller/HeroController.class.php b/webapp/controller/HeroController.class.php index 45bd9639..e549c924 100644 --- a/webapp/controller/HeroController.class.php +++ b/webapp/controller/HeroController.class.php @@ -111,7 +111,7 @@ class HeroController extends BaseAuthedController { $res= Hero::addSyntheticHero($heroMeta,2); if ($res){ $lastIdx = SqlHelper::getLastInsertId( myself()->_getSelfMysql()); - $awardService->addChip($itemId,$lastIdx); + $awardService->addHero($itemId,$lastIdx); } } $propertyChgService->addHeroChg();