Fix flea not showing correct categories until unlock level + 1
This commit is contained in:
parent
5b886038e9
commit
64334339b3
@ -181,7 +181,7 @@ export class RagfairController
|
|||||||
protected getSpecificCategories(pmcProfile: IPmcData, searchRequest: ISearchRequestData, offers: IRagfairOffer[]): Record<string, number>
|
protected getSpecificCategories(pmcProfile: IPmcData, searchRequest: ISearchRequestData, offers: IRagfairOffer[]): Record<string, number>
|
||||||
{
|
{
|
||||||
// Linked/required search categories
|
// Linked/required search categories
|
||||||
const playerHasFleaUnlocked = pmcProfile.Info.Level > this.databaseServer.getTables().globals.config.RagFair.minUserLevel;
|
const playerHasFleaUnlocked = pmcProfile.Info.Level >= this.databaseServer.getTables().globals.config.RagFair.minUserLevel;
|
||||||
let offerPool = [];
|
let offerPool = [];
|
||||||
if (this.isLinkedSearch(searchRequest) || this.isRequiredSearch(searchRequest))
|
if (this.isLinkedSearch(searchRequest) || this.isRequiredSearch(searchRequest))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user