Explorar o código

灵蛇抽奖扣道具bug修复

cyzhao hai 3 meses
pai
achega
58640619d6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Gameserver/App/process/ActiveProc.php

+ 1 - 1
Gameserver/App/process/ActiveProc.php

@@ -282,7 +282,7 @@ class ActiveProc {
         }
         
         my_Assert($itemNum > 0 , ErrCode::notenough_item);               
-        ctx()->store()->removeItem($itemId, $itemNum);
+        ctx()->store()->removeItem($itemId, 1);
         
         $cardId = self::RandCardReward();
         my_Assert($cardId != 0, ErrCode::active_const_no_err);