cyzhao 1 anno fa
parent
commit
9e93f80c26
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;
     }