Ver código fonte

加金币bug

cyzhao 1 ano atrás
pai
commit
9e93f80c26
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      Gameserver/App/model/User/Info_UserBase.php

+ 1 - 1
Gameserver/App/model/User/Info_UserBase.php

@@ -200,7 +200,7 @@ class Info_UserBase extends Object_ext {
      */
     function Add_Gold($amt, $mask = 0) {
         my_Assert($amt >= 0, "参数为负");
-        TaskProc::OnAccumulateGoldNum($gold);
+        TaskProc::OnAccumulateGoldNum($amt);
         $this->gold += $amt;
     }