apply ai hint

This commit is contained in:
AMelonInsideLemon 2024-10-17 18:22:21 +02:00 committed by Sainan
parent 52d32a67b4
commit 89a47767fa
2 changed files with 3 additions and 1 deletions

View File

@ -1166,7 +1166,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

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