升级修改提交
parent
0f3e76e00f
commit
3373e3daf4
|
@ -64,7 +64,7 @@ end
|
||||||
|
|
||||||
function SacredTreePanel:OnUpdate()
|
function SacredTreePanel:OnUpdate()
|
||||||
if self.isPressed then
|
if self.isPressed then
|
||||||
if self.numCount > t and self.numCount/t >= 1 then
|
if self.numCount > t and self.numCount/t >= 0 then
|
||||||
self.isShortPress = false
|
self.isShortPress = false
|
||||||
self:Refresh(false)
|
self:Refresh(false)
|
||||||
self.numCount = 0
|
self.numCount = 0
|
||||||
|
@ -119,6 +119,7 @@ function SacredTreePanel:Refresh(isSend)
|
||||||
end
|
end
|
||||||
|
|
||||||
function SacredTreePanel:RequestDonate(num)
|
function SacredTreePanel:RequestDonate(num)
|
||||||
|
LogGreen("num:"..num)
|
||||||
if num <= 0 then
|
if num <= 0 then
|
||||||
PopupTipPanel.ShowTip(string.format("%s不足!",itemConfig[treeLevelConfig[curTreeLevel].LvupCost[1]].Name))
|
PopupTipPanel.ShowTip(string.format("%s不足!",itemConfig[treeLevelConfig[curTreeLevel].LvupCost[1]].Name))
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue