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