瀏覽代碼

灵蛇抽奖扣道具bug修复

cyzhao 3 月之前
父節點
當前提交
58640619d6
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);