Browse Source

灵蛇抽奖扣道具bug修复

cyzhao 3 tháng trước cách đây
mục cha
commit
58640619d6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);