mirror of
https://github.com/Walter-Sparrow/lunar-tear.git
synced 2026-07-02 05:43:41 +03:00
Fix menu-pick for normal difficulty quests
Build and Push Docker images to Docker Hub / build-and-push (push) Has been cancelled
Build and Push Docker images to Docker Hub / build-and-push (push) Has been cancelled
This commit is contained in:
@@ -77,6 +77,11 @@ func (h *QuestHandler) handleQuestStartInternal(user *store.UserState, questId i
|
|||||||
user.MainQuest.LatestVersion = nowMillis
|
user.MainQuest.LatestVersion = nowMillis
|
||||||
log.Printf("[HandleQuestStart] QuestMenuPick quest=%d isBattleOnly=%v scene=%d cleared=%v",
|
log.Printf("[HandleQuestStart] QuestMenuPick quest=%d isBattleOnly=%v scene=%d cleared=%v",
|
||||||
questId, isBattleOnly, sceneId, isCleared)
|
questId, isBattleOnly, sceneId, isCleared)
|
||||||
|
if isCleared {
|
||||||
|
questState.LatestStartDatetime = nowMillis
|
||||||
|
user.Quests[questId] = questState
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
case isReplayFlow:
|
case isReplayFlow:
|
||||||
h.applyReplayStart(user, questId, isBattleOnly, nowMillis)
|
h.applyReplayStart(user, questId, isBattleOnly, nowMillis)
|
||||||
|
|||||||
Reference in New Issue
Block a user