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

Added missing quest image

This commit is contained in:
Chomp 2025-01-15 22:23:13 +00:00
parent a7198c7f2a
commit 24fb4e0578
2 changed files with 4 additions and 1 deletions

Binary file not shown.

View File

@ -1155,7 +1155,7 @@ export class BotEquipmentModGenerator {
return itemModPool[modSlot]; return itemModPool[modSlot];
} }
protected getMatchingModFromPreset(request: IModToSpawnRequest, weaponTemplate: ITemplateItem) { protected getMatchingModFromPreset(request: IModToSpawnRequest, weaponTemplate: ITemplateItem): IItem | undefined {
const matchingPreset = this.getMatchingPreset(weaponTemplate, request.parentTemplate._id); const matchingPreset = this.getMatchingPreset(weaponTemplate, request.parentTemplate._id);
return matchingPreset?._items.find((item) => item?.slotId?.toLowerCase() === request.modSlot.toLowerCase()); return matchingPreset?._items.find((item) => item?.slotId?.toLowerCase() === request.modSlot.toLowerCase());
} }