|
@@ -138,7 +138,7 @@ namespace GFGGame
|
|
ShopCfg shopCfg = ShopCfgArray.Instance.GetCfg(monthCfg.shopId);
|
|
ShopCfg shopCfg = ShopCfgArray.Instance.GetCfg(monthCfg.shopId);
|
|
if(shopCfg.onceShopId > 0)
|
|
if(shopCfg.onceShopId > 0)
|
|
{
|
|
{
|
|
- //如果配置了首次购买物品,使用特殊物品购买
|
|
|
|
|
|
+ //如果配置了首次购买物品,使用特殊id购买
|
|
if(ShopDataManager.Instance.GetGoodsBuyNumById(shopCfg.onceShopId) <= 0)
|
|
if(ShopDataManager.Instance.GetGoodsBuyNumById(shopCfg.onceShopId) <= 0)
|
|
{
|
|
{
|
|
shopCfg = ShopCfgArray.Instance.GetCfg(shopCfg.onceShopId);
|
|
shopCfg = ShopCfgArray.Instance.GetCfg(shopCfg.onceShopId);
|