激活两次修改

dev_chengFeng
jiaoyangna 2021-03-25 10:45:50 +08:00
parent 646f3ae5de
commit 10f239582a
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ end
--绑定事件(用于子类重写)
function FetterItem:BindEvent()
Util.AddClick(self.activeBtn, function()
Util.AddOnceClick(self.activeBtn, function()
local oldWarPower = FormationManager.GetFormationPower(FormationTypeDef.FORMATION_NORMAL)
NetManager.PokemonBookEnableRequest(self.itemData.id,function(msg)
if msg.drop and msg.drop.itemlist and #msg.drop.itemlist > 0 then