cyzhao 1 rok pred
rodič
commit
9e93f80c26

+ 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;
     }