Skip to content

Commit 18b3a67

Browse files
authored
Merge pull request #249 from TaskarCenterAtUW/fix-element-id-display
use id from relationData as questId
2 parents b30e746 + eb27f08 commit 18b3a67

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)