瀏覽代碼

装备bug

cyzhao 1 年之前
父節點
當前提交
138640d535
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Gameserver/App/process/StoreProc.php

+ 2 - 1
Gameserver/App/process/StoreProc.php

@@ -138,7 +138,8 @@ class StoreProc {
         }
 
         $user->store->equip->$uid->level += 1;
-
+        ctx()->baseInfo->Consume_Gold($Mo->needGold);
+        
         ctx($user);
         UserProc::updateUserInfo();
         return Resp::ok(array(