Init scavs Encyclopedia on generation
This commit is contained in:
parent
ee7c2aab36
commit
ecfd6883d0
@ -114,7 +114,7 @@ export class PlayerScavGenerator
|
||||
scavData.TaskConditionCounters = existingScavDataClone.TaskConditionCounters ?? {};
|
||||
scavData.Notes = existingScavDataClone.Notes ?? { Notes: [] };
|
||||
scavData.WishList = existingScavDataClone.WishList ?? [];
|
||||
scavData.Encyclopedia = pmcDataClone.Encyclopedia;
|
||||
scavData.Encyclopedia = pmcDataClone.Encyclopedia ?? {};
|
||||
|
||||
// Add additional items to player scav as loot
|
||||
this.addAdditionalLootToPlayerScavContainers(playerScavKarmaSettings.lootItemsToAddChancePercent, scavData, [
|
||||
|
Loading…
Reference in New Issue
Block a user