|
|
@@ -468,7 +468,7 @@ export class ShopController extends Component {
|
|
|
|
|
|
console.log(`[ShopController] 开始播放钻石奖励动画: ${amount}, 来源: ${isFromAd ? '广告' : '免费'}`);
|
|
|
|
|
|
- // 播放奖励动画,动画完成后会自动添加钻石
|
|
|
+ this.saveDataManager.addDiamonds(amount, isFromAd ? 'daily_ad_reward' : 'daily_free_reward');
|
|
|
this.playDiamondRewardAnimation(amount, () => {
|
|
|
console.log(`[ShopController] 钻石奖励动画播放完成: ${amount}`);
|
|
|
});
|
|
|
@@ -669,4 +669,4 @@ export class ShopController extends Component {
|
|
|
console.error('[ShopController] 追踪查看商城内容事件时出错:', error);
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
+}
|