fix colliding var names
This commit is contained in:
parent
0a6a866ae8
commit
f7651fe003
@ -79,7 +79,7 @@ export class QuestController
|
|||||||
for (const quest of allQuests)
|
for (const quest of allQuests)
|
||||||
{
|
{
|
||||||
// Player already accepted the quest, show it regardless of status
|
// Player already accepted the quest, show it regardless of status
|
||||||
const questInProfile = profile.Quests.find((quest) => quest.qid === quest._id);
|
const questInProfile = profile.Quests.find((x) => x.qid === quest._id);
|
||||||
if (questInProfile)
|
if (questInProfile)
|
||||||
{
|
{
|
||||||
quest.sptStatus = questInProfile.status;
|
quest.sptStatus = questInProfile.status;
|
||||||
|
Loading…
Reference in New Issue
Block a user