From 56394d840bf9a622f0fd5075df84807e69c9d7f8 Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Tue, 13 Aug 2024 14:48:47 +0800 Subject: [PATCH] 1 --- webapp/controller/HeroController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();