cyzhao hai 1 ano
pai
achega
138640d535
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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(