1
This commit is contained in:
parent
dcba2a1a67
commit
31c6dc270c
@ -73,8 +73,8 @@ namespace GameLogic
|
||||
//}
|
||||
|
||||
// 设置数据同步
|
||||
GiftEffectBool = GameModule.Setting.GetBool("GiftEffect");
|
||||
WorldEffectBool = GameModule.Setting.GetBool("WorldEffect");
|
||||
GiftEffectBool = GameModule.Setting.GetBool("GiftEffect", true);
|
||||
WorldEffectBool = GameModule.Setting.GetBool("WorldEffect", true);
|
||||
|
||||
}
|
||||
|
||||
@ -358,7 +358,7 @@ namespace GameLogic
|
||||
isAdd = false;
|
||||
}
|
||||
|
||||
if (isAdd)
|
||||
if (isAdd && GiftEffectBool)
|
||||
{
|
||||
m_GiftItemDatas.Add(giftItemData);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user