From 443bc729958b36a9e68ee8d8a13800ca03fc713f Mon Sep 17 00:00:00 2001 From: Dev Date: Wed, 20 Mar 2024 18:02:19 +0000 Subject: [PATCH] Remove unnecessary code from `flagItemsAsInspectedAndRewardXp` as issue is now fixed at source --- project/src/controllers/InventoryController.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/project/src/controllers/InventoryController.ts b/project/src/controllers/InventoryController.ts index 9cbe2617..7bf184f6 100644 --- a/project/src/controllers/InventoryController.ts +++ b/project/src/controllers/InventoryController.ts @@ -663,11 +663,6 @@ export class InventoryController fullProfile.characters.pmc.Encyclopedia[itemTpl] = false; fullProfile.characters.scav.Info.Experience += item._props.ExamineExperience; - - if (!fullProfile.characters.scav.Encyclopedia) - { - fullProfile.characters.scav.Encyclopedia = {}; - } fullProfile.characters.scav.Encyclopedia[itemTpl] = false; }