Skip to content

Commit

Permalink
fix for fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturKnopik committed Dec 11, 2024
1 parent 4004d49 commit e82c409
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/monster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ bool Monster::searchTarget(TargetSearchType_t searchType /*= TARGETSEARCH_DEFAUL
void Monster::goToFollowCreature()
{
if (!followCreature) {
onFollowCreatureComplete();
return;
}

Expand Down Expand Up @@ -619,8 +620,6 @@ void Monster::goToFollowCreature()
hasFollowPath = false;
}
}

onFollowCreatureComplete();
}

void Monster::onFollowCreatureComplete()
Expand Down

0 comments on commit e82c409

Please sign in to comment.