军团活动bug

This commit is contained in:
luying
2022-04-21 22:23:13 +08:00
parent 1e5bffc36c
commit 7e7426dc0d
3 changed files with 5 additions and 2 deletions

View File

@@ -85,6 +85,9 @@ export class AuctionHandler {
newPrice = maxPrice;
maxFlag = true;
}
if(newPrice > maxPrice) {
newPrice = maxPrice;
}
const costRes = await handleCost(roleId, sid, [{ id: CURRENCY_BY_TYPE.get(CURRENCY_TYPE.GOLD), count: curPrice }], ITEM_CHANGE_REASON.AUCTION_OFFER);
if (!costRes) {
res.releaseCallback();