remove markModified
All checks were successful
Build / build (20) (pull_request) Successful in 33s
Build / build (22) (pull_request) Successful in 52s
Build / build (18) (pull_request) Successful in 1m9s

This commit is contained in:
AMelonInsideLemon 2025-02-05 18:52:31 +01:00
parent 604c87637e
commit 5b525916d0

View File

@ -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 });
}