ZhangBiao 2020-09-08 10:56:23 +08:00
parent 7a375b767c
commit f451ac76f5
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ function this.UpdateData(msg)
this.rewardStateData = msg.treasureRewardState
end
end
this.TreasrueState = OperatingManager.GetGoodsBuyTime(GoodsTypeDef.TreasureOfHeaven,106) or msg.isBuy
this.TreasrueState = OperatingManager.GetGoodsBuyTime(GoodsTypeDef.TreasureOfHeaven,106) == 0 and msg.isBuy or OperatingManager.GetGoodsBuyTime(GoodsTypeDef.TreasureOfHeaven,106)
end
function this.SetTreasureState()