Skip gifter when removing christmas items
This commit is contained in:
parent
5ffa186b0e
commit
8ec94a1322
@ -170,10 +170,14 @@ export class BotGenerator
|
|||||||
|
|
||||||
if (!this.seasonalEventService.christmasEventEnabled())
|
if (!this.seasonalEventService.christmasEventEnabled())
|
||||||
{
|
{
|
||||||
this.seasonalEventService.removeChristmasItemsFromBotInventory(
|
// Process all bots EXCEPT gifter, he needs christmas items
|
||||||
botJsonTemplate.inventory,
|
if (botGenerationDetails.role !== "gifter")
|
||||||
botGenerationDetails.role,
|
{
|
||||||
);
|
this.seasonalEventService.removeChristmasItemsFromBotInventory(
|
||||||
|
botJsonTemplate.inventory,
|
||||||
|
botGenerationDetails.role,
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove hideout data if bot is not a PMC or pscav
|
// Remove hideout data if bot is not a PMC or pscav
|
||||||
|
Loading…
Reference in New Issue
Block a user