Commit 1fd0a0dd authored by DailyShana's avatar DailyShana

fix

parent 21012f26
...@@ -36,7 +36,7 @@ end ...@@ -36,7 +36,7 @@ end
function c11501629.ctcon(e,tp,eg,ep,ev,re,r,rp) function c11501629.ctcon(e,tp,eg,ep,ev,re,r,rp)
local ct=eg:FilterCount(c11501629.ctfilter,nil,tp) local ct=eg:FilterCount(c11501629.ctfilter,nil,tp)
e:SetLabel(ct) e:SetLabel(ct)
return ct>0 return ct>0 and e:GetHandler():IsCanAddCounter(0x2d,ct)
end end
function c11501629.ctop(e,tp,eg,ep,ev,re,r,rp) function c11501629.ctop(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():AddCounter(0x2d,e:GetLabel()) e:GetHandler():AddCounter(0x2d,e:GetLabel())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment