|
@@ -248,7 +248,10 @@ namespace GFGGame
|
|
|
public static async ETTask<bool> ReqActivityZCJBInfo(int id = 5006)
|
|
|
{
|
|
|
int activityID = ActivityDataManager.Instance.GetCurOpenActiveByType(17);
|
|
|
- ActivityDataManager.Instance.activityZCJBId = ActivityOpenCfgArray.Instance.GetCfg(activityID).paramsArr[0];
|
|
|
+ if (activityID != 0)
|
|
|
+ {
|
|
|
+ ActivityDataManager.Instance.activityZCJBId = ActivityOpenCfgArray.Instance.GetCfg(activityID).paramsArr[0];
|
|
|
+ }
|
|
|
S2C_GetDressRewrdStatusList response = null;
|
|
|
response = (S2C_GetDressRewrdStatusList)await MessageHelper.SendToServer(new C2S_GetDressRewrdStatusList() { ActivityId = id });
|
|
|
if (response != null)
|