Skip to content

Commit eb27f08

Browse files
author
Achyut Kumar M
committed
use id from relationData as questId
1 parent b30e746 commit eb27f08

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

GoInfoGame/GoInfoGame/quests/LongQuests/Classes/LongElementQuest.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,9 @@ class LongElementQuest: QuestBase, Quest {
117117
}
118118
}
119119

120-
var questId: String = "311"
120+
var questId: String {
121+
return String(self.relationData?.id ?? 0)
122+
}
121123

122124
func copyWithElement(element: Element) -> any Quest {
123125
let questId = String(element.id)

0 commit comments

Comments
 (0)