Skip to content

Commit

Permalink
Merge branch 'main' into hotfix/fix-scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
elsongabriel authored Nov 16, 2023
2 parents 6663b20 + adb72e1 commit b362a28
Show file tree
Hide file tree
Showing 3 changed files with 179 additions and 211 deletions.
4 changes: 1 addition & 3 deletions src/creatures/creature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1022,9 +1022,7 @@ void Creature::goToFollowCreature() {
}
}

if (followCreature->getPlayer() && followCreature->getPlayer()->isDisconnected()) {
hasFollowPath = false;
} else if (listDir.empty()) {
if (listDir.empty()) {
hasFollowPath = getPathTo(followCreature->getPosition(), listDir, fpp);
}

Expand Down
Loading

0 comments on commit b362a28

Please sign in to comment.