fix(Scripts/HoL): adjust IsEncounterInProgress() (#6108)

This commit is contained in:
Axel Cocat
2021-06-02 14:07:16 +02:00
committed by GitHub
parent fb8cfe394a
commit 9bd07a673a

View File

@@ -48,8 +48,10 @@ public:
{
for (uint8 i = 0; i < MAX_ENCOUNTER; ++i)
{
if (m_auiEncounter[i] == IN_PROGRESS)
if (m_auiEncounter[i] == IN_PROGRESS && i != TYPE_LOKEN_INTRO)
{
return true;
}
}
return false;
}