0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 09:50:43 -05:00

Fix up edge case error with tiered flea weapon builds

This commit is contained in:
Archangel 2025-01-05 02:57:04 +01:00
parent f541228a81
commit 0587fc398b

View File

@ -264,6 +264,11 @@ export class RagfairOfferHelper {
tieredFleaLimitTypes, tieredFleaLimitTypes,
pmcData.Info.Level, pmcData.Info.Level,
); );
// Do not add offer to build if user does not have access to it
if (offer.locked) {
continue;
}
} }
const key = offer.items[0]._tpl; const key = offer.items[0]._tpl;