updated removeResourceFromArea() to get FiR status for a fuel item without a upd property

This commit is contained in:
Dev 2024-05-10 14:51:23 +01:00
parent a2f6d8b9bb
commit aeee99bae5

View File

@ -523,7 +523,7 @@ export class HideoutController
const request: IAddItemDirectRequest = { const request: IAddItemDirectRequest = {
itemWithModsToAdd: [itemToReturn], itemWithModsToAdd: [itemToReturn],
foundInRaid: !!itemToReturn.upd.SpawnedInSession, foundInRaid: !!itemToReturn.upd?.SpawnedInSession,
callback: null, callback: null,
useSortingTable: false, useSortingTable: false,
}; };