renamed map object
This commit is contained in:
@ -111,9 +111,9 @@ export async function getAllAvatarParts(category: number) {
|
|||||||
matchingAvatarParts.avatarAccessoryId,
|
matchingAvatarParts.avatarAccessoryId,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
.map((unlockedAvatarPart) => [
|
.map((unlockedAvatarPartIds) => [
|
||||||
unlockedAvatarPart.avatarAccessoryId,
|
unlockedAvatarPartIds.avatarAccessoryId,
|
||||||
unlockedAvatarPart,
|
unlockedAvatarPartIds,
|
||||||
]),
|
]),
|
||||||
).values(),
|
).values(),
|
||||||
);
|
);
|
||||||
|
@ -89,7 +89,10 @@ export async function getMapIcons() {
|
|||||||
new Map(
|
new Map(
|
||||||
AllMapIcons.filter((matchingMapIconIds) =>
|
AllMapIcons.filter((matchingMapIconIds) =>
|
||||||
unlockedMapIcons.includes(matchingMapIconIds.id),
|
unlockedMapIcons.includes(matchingMapIconIds.id),
|
||||||
).map((unlockedMapIcons) => [unlockedMapIcons.id, unlockedMapIcons]),
|
).map((unlockedMapIconIds) => [
|
||||||
|
unlockedMapIconIds.id,
|
||||||
|
unlockedMapIconIds,
|
||||||
|
]),
|
||||||
).values(),
|
).values(),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -93,9 +93,9 @@ export async function getNamePlates() {
|
|||||||
new Map(
|
new Map(
|
||||||
AllNameplates.filter((matchingNamePlateIds) =>
|
AllNameplates.filter((matchingNamePlateIds) =>
|
||||||
unlockedNamePlates.includes(matchingNamePlateIds.id),
|
unlockedNamePlates.includes(matchingNamePlateIds.id),
|
||||||
).map((unlockedNamePlates) => [
|
).map((unlockedNamePlateIds) => [
|
||||||
unlockedNamePlates.id,
|
unlockedNamePlateIds.id,
|
||||||
unlockedNamePlates,
|
unlockedNamePlateIds,
|
||||||
]),
|
]),
|
||||||
).values(),
|
).values(),
|
||||||
);
|
);
|
||||||
|
@ -108,9 +108,9 @@ export async function getSystemVoices() {
|
|||||||
new Map(
|
new Map(
|
||||||
AllSystemVoices.filter((matchingsystemVoiceIds) =>
|
AllSystemVoices.filter((matchingsystemVoiceIds) =>
|
||||||
unlockedSystemVoices.includes(matchingsystemVoiceIds.id),
|
unlockedSystemVoices.includes(matchingsystemVoiceIds.id),
|
||||||
).map((unlockedSystemVoice) => [
|
).map((unlockedSystemVoiceIds) => [
|
||||||
unlockedSystemVoice.id,
|
unlockedSystemVoiceIds.id,
|
||||||
unlockedSystemVoice,
|
unlockedSystemVoiceIds,
|
||||||
]),
|
]),
|
||||||
).values(),
|
).values(),
|
||||||
);
|
);
|
||||||
|
@ -91,7 +91,7 @@ export async function getTrophies() {
|
|||||||
new Map(
|
new Map(
|
||||||
AllTrophies.filter((matchingTrophyId) =>
|
AllTrophies.filter((matchingTrophyId) =>
|
||||||
unlockedTrophies.includes(matchingTrophyId.id),
|
unlockedTrophies.includes(matchingTrophyId.id),
|
||||||
).map((unlockedTrophy) => [unlockedTrophy.id, unlockedTrophy]),
|
).map((unlockedTrophyIds) => [unlockedTrophyIds.id, unlockedTrophyIds]),
|
||||||
).values(),
|
).values(),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user