Attempt to fix msq sometimes stopping

This commit is contained in:
Liza 2024-08-07 14:10:28 +02:00
parent f537a61640
commit 41abceb89a
Signed by: liza
GPG Key ID: 7199F8D727D55F67
2 changed files with 6 additions and 3 deletions

View File

@ -172,8 +172,11 @@ internal sealed unsafe class QuestFunctions
return default;
// it can sometimes happen (although this isn't reliably reproducible) that the quest returned here
// is one you've just completed.
if (!IsReadyToAcceptQuest(currentQuest))
// is one you've just completed. We return 255 as sequence here, since that is the end of said quest;
// but this is just really hoping that this breaks nothing.
if (IsQuestComplete(currentQuest))
return (currentQuest, 255);
else if (!IsReadyToAcceptQuest(currentQuest))
return default;
// if we're not at a high enough level to continue, we also ignore it

View File

@ -1,6 +1,6 @@
<Project Sdk="Dalamud.NET.Sdk/10.0.0">
<PropertyGroup>
<Version>2.2</Version>
<Version>2.3</Version>
<OutputPath>dist</OutputPath>
<PathMap Condition="$(SolutionDir) != ''">$(SolutionDir)=X:\</PathMap>
<Platforms>x64</Platforms>