From aeee99bae5dad5380bc0c1ee0d68fa07a45b51eb Mon Sep 17 00:00:00 2001 From: Dev Date: Fri, 10 May 2024 14:51:23 +0100 Subject: [PATCH] updated `removeResourceFromArea()` to get FiR status for a fuel item without a `upd` property --- project/src/controllers/HideoutController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/controllers/HideoutController.ts b/project/src/controllers/HideoutController.ts index 66ab043a..27deab4a 100644 --- a/project/src/controllers/HideoutController.ts +++ b/project/src/controllers/HideoutController.ts @@ -523,7 +523,7 @@ export class HideoutController const request: IAddItemDirectRequest = { itemWithModsToAdd: [itemToReturn], - foundInRaid: !!itemToReturn.upd.SpawnedInSession, + foundInRaid: !!itemToReturn.upd?.SpawnedInSession, callback: null, useSortingTable: false, };