apply ai hint

This commit is contained in:
AMelonInsideLemon 2024-10-17 18:22:21 +02:00
parent b543392f34
commit 7fc60e70f2
2 changed files with 3 additions and 1 deletions

View File

@ -933,7 +933,7 @@ const inventorySchema = new Schema<IInventoryDatabase, InventoryDocumentProps>(
EvolutionProgress: { type: [evolutionProgressSchema], default: undefined },
//https://warframe.fandom.com/wiki/Loc-Pin
CustomMarkers: [CustomMarkersSchema],
CustomMarkers: { type: [CustomMarkersSchema], default: undefined },
//Unknown and system
DuviriInfo: DuviriInfoSchema,

View File

@ -794,9 +794,11 @@ export const missionInventoryUpdate = async (data: IMissionInventoryUpdateReques
: undefined;
if (map) {
map.markerInfos = markers.markerInfos;
inventory.markModified("CustomMarkers");
} else {
inventory.CustomMarkers ??= [];
inventory.CustomMarkers.push(markers);
inventory.markModified("CustomMarkers");
}
});
}