removeResourceFromArea()
Pass found item in slot directly to addToStash requst for small optimisation
This commit is contained in:
parent
d920dceb53
commit
704b337a3c
@ -500,13 +500,7 @@ export class HideoutController
|
||||
const itemToReturn = hideoutArea.slots.find((slot) => slot.locationIndex === slotIndexToRemove).item[0];
|
||||
|
||||
const request: IAddItemDirectRequest = {
|
||||
itemWithModsToAdd: [
|
||||
{
|
||||
_id: this.hashUtil.generate(),
|
||||
_tpl: itemToReturn._tpl,
|
||||
upd: itemToReturn.upd
|
||||
}
|
||||
],
|
||||
itemWithModsToAdd: [itemToReturn],
|
||||
foundInRaid: !!itemToReturn.upd.SpawnedInSession,
|
||||
callback: null,
|
||||
useSortingTable: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user