Browse Source

装备bug

cyzhao 1 năm trước cách đây
mục cha
commit
138640d535
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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(