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