|
@@ -59,12 +59,13 @@ namespace GFGGame
|
|
|
protected override void AddEventListener()
|
|
|
{
|
|
|
base.AddEventListener();
|
|
|
+ EventAgent.RemoveEventListener(ConstMessage.ITEM_CHANGED, SetRed);
|
|
|
}
|
|
|
|
|
|
protected override void RemoveEventListener()
|
|
|
{
|
|
|
base.RemoveEventListener();
|
|
|
- EventAgent.RemoveEventListener(ConstMessage.RED_CHANGE, SetRed);
|
|
|
+ EventAgent.RemoveEventListener(ConstMessage.ITEM_CHANGED, SetRed);
|
|
|
}
|
|
|
private void SetRed()
|
|
|
{
|
|
@@ -77,7 +78,7 @@ namespace GFGGame
|
|
|
PromptController.Instance.ShowFloatTextPrompt("活动已到期!");
|
|
|
return;
|
|
|
}
|
|
|
- ActivityFightCfg chapterCfgs = ActivityFightCfgArray.Instance.GetCfg(61001);
|
|
|
+ ActivityFightCfg chapterCfgs = ActivityFightCfgArray.Instance.GetCfg(ActivityDataManager.Instance.activityZCJBId);
|
|
|
ViewManager.Show<ActivityZCJBChapterView>(new object[] { chapterCfgs.id, 2 });
|
|
|
}
|
|
|
private void OnClickShowReward()
|