Sfoglia il codice sorgente

修复CDK 未发送错误

mafei 1 anno fa
parent
commit
643a6333c0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      script/module/present/CDK.lua

+ 1 - 1
script/module/present/CDK.lua

@@ -231,7 +231,7 @@ function cdkDo(human,msg)
 	cdkInfo = cdkInfo + 1
 	]]
 	local cdkInfo = human.db.cdk[msg.batch] or 0
-    if cdkInfo >= msg.cnt then 
+    if cdkInfo >= msg.useCnt then 
         Broadcast.sendErr(human,Lang.CDK_ERR3)
         return
     end