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