Updated getOffersForBuild()
to not show pack offers, this fixes the equipment system buying pack offers
This commit is contained in:
parent
eb2afa81d5
commit
ce3b63dc1c
@ -204,6 +204,11 @@ export class RagfairOfferHelper {
|
||||
const tieredFleaLimitTypes = Object.keys(tieredFlea.unlocksType);
|
||||
|
||||
for (const offer of this.ragfairOfferService.getOffers()) {
|
||||
// Dont show pack offers
|
||||
if (offer.sellInOnePiece) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!this.passesSearchFilterCriteria(searchRequest, offer, pmcData)) {
|
||||
continue;
|
||||
}
|
||||
|
@ -15,6 +15,7 @@ export interface IRagfairOffer {
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
/** True when offer is sold as pack */
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
|
Loading…
Reference in New Issue
Block a user