This commit is contained in:
Nikolay Korolev 2021-01-08 12:59:51 +03:00
parent d820df0dbe
commit f8569a74cb
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ int8 CRunningScript::ProcessCommands800To899(int32 command)
CPed* pLeader = CWorld::Players[ScriptParams[1]].m_pPed;
script_assert(pPed);
script_assert(pLeader);
UpdateCompareFlag(pPed->m_leader == pLeader);
UpdateCompareFlag(pPed->m_leader == pLeader && !pPed->bWaitForLeaderToComeCloser);
return 0;
}
case COMMAND_EXPLODE_CHAR_HEAD: