Fix menu-pick for normal difficulty quests
Build and Push Docker images to Docker Hub / build-and-push (push) Has been cancelled

This commit is contained in:
Ilya Groshev
2026-05-13 19:43:50 +03:00
parent 00817684ef
commit fa5d023f58
+5
View File
@@ -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)