mirror of
https://github.com/Walter-Sparrow/lunar-tear.git
synced 2026-07-02 05:43:41 +03:00
Fix black screen re-entering a side story with no quest cleared
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:
@@ -101,6 +101,9 @@ func (s *SideStoryQuestServiceServer) MoveSideStoryQuestProgress(ctx context.Con
|
|||||||
scene, ok = info.SceneIdByType(model.SideStorySceneIntroduction)
|
scene, ok = info.SceneIdByType(model.SideStorySceneIntroduction)
|
||||||
} else {
|
} else {
|
||||||
scene, ok = sideStoryNextSceneAfterBattle(info, user)
|
scene, ok = sideStoryNextSceneAfterBattle(info, user)
|
||||||
|
if !ok {
|
||||||
|
scene, ok = existing.HeadSideStoryQuestSceneId, true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if !ok {
|
if !ok {
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user