forked from liza/Questionable
Check if the next msq quest can even be accepted
This commit is contained in:
parent
d86afbf982
commit
634ac804af
@ -151,6 +151,7 @@ internal sealed unsafe class GameFunctions
|
|||||||
var msqQuest = GetMainScenarioQuest(questManager);
|
var msqQuest = GetMainScenarioQuest(questManager);
|
||||||
if (msqQuest.CurrentQuest != 0 &&
|
if (msqQuest.CurrentQuest != 0 &&
|
||||||
_questRegistry.IsKnownQuest(msqQuest.CurrentQuest) &&
|
_questRegistry.IsKnownQuest(msqQuest.CurrentQuest) &&
|
||||||
|
IsReadyToAcceptQuest(msqQuest.CurrentQuest) &&
|
||||||
!questManager->IsQuestAccepted(msqQuest.CurrentQuest))
|
!questManager->IsQuestAccepted(msqQuest.CurrentQuest))
|
||||||
return msqQuest;
|
return msqQuest;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user