Attempt to fix msq sometimes stopping

pull/15/head v2.3
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; return default;
// it can sometimes happen (although this isn't reliably reproducible) that the quest returned here // it can sometimes happen (although this isn't reliably reproducible) that the quest returned here
// is one you've just completed. // is one you've just completed. We return 255 as sequence here, since that is the end of said quest;
if (!IsReadyToAcceptQuest(currentQuest)) // but this is just really hoping that this breaks nothing.
if (IsQuestComplete(currentQuest))
return (currentQuest, 255);
else if (!IsReadyToAcceptQuest(currentQuest))
return default; return default;
// if we're not at a high enough level to continue, we also ignore it // 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"> <Project Sdk="Dalamud.NET.Sdk/10.0.0">
<PropertyGroup> <PropertyGroup>
<Version>2.2</Version> <Version>2.3</Version>
<OutputPath>dist</OutputPath> <OutputPath>dist</OutputPath>
<PathMap Condition="$(SolutionDir) != ''">$(SolutionDir)=X:\</PathMap> <PathMap Condition="$(SolutionDir) != ''">$(SolutionDir)=X:\</PathMap>
<Platforms>x64</Platforms> <Platforms>x64</Platforms>