Skip to content

Commit

Permalink
Check if in town before starting, submitted by texxxmex
Browse files Browse the repository at this point in the history
  • Loading branch information
noah- committed Jun 12, 2013
1 parent eff46e7 commit 24b60f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions d2bs/kolbot/libs/bots/Follower.js
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,10 @@ function Follower() {
Config.TownMP = 0;
charClass = classes[me.classid];

if (!me.inTown) {
Town.goToTown();
}

for (i = 0; i < 20; i += 1) {
leader = this.getLeader(Config.Leader);

Expand Down

0 comments on commit 24b60f1

Please sign in to comment.