remove markModified
This commit is contained in:
parent
604c87637e
commit
5b525916d0
@ -926,7 +926,6 @@ export const addCrewShipRawSalvage = (
|
||||
|
||||
if (itemIndex !== -1) {
|
||||
CrewShipRawSalvage[itemIndex].ItemCount += ItemCount;
|
||||
inventory.markModified(`CrewShipRawSalvage.${itemIndex}.ItemCount`);
|
||||
} else {
|
||||
CrewShipRawSalvage.push({ ItemCount, ItemType });
|
||||
}
|
||||
@ -941,7 +940,6 @@ export const addCrewShipAmmo = (inventory: TInventoryDatabaseDocument, itemsArra
|
||||
|
||||
if (itemIndex !== -1) {
|
||||
CrewShipAmmo[itemIndex].ItemCount += ItemCount;
|
||||
inventory.markModified(`CrewShipAmmo.${itemIndex}.ItemCount`);
|
||||
} else {
|
||||
CrewShipAmmo.push({ ItemCount, ItemType });
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user