|
@@ -511,7 +511,7 @@ namespace GFGGame
|
|
|
{
|
|
|
//评分结束后,添加套装加成分数
|
|
|
StoryLevelCfg storyLevelCfg = StoryLevelCfgArray.Instance.GetCfg(InstanceZonesDataManager.currentLevelCfgId);
|
|
|
- if (storyLevelCfg.type == ConstInstanceZonesType.Studio && storyLevelCfg.subType == ConstInstanceZonesSubType.Hard3)
|
|
|
+ if (storyLevelCfg != null && storyLevelCfg.type == ConstInstanceZonesType.Studio && storyLevelCfg.subType == ConstInstanceZonesSubType.Hard3)
|
|
|
{
|
|
|
float addition = StudioDataManager.Instance.GetAddition();
|
|
|
addition = addition / 10000 * FightDataManager.Instance.totalScore;
|