Skip to content

Commit

Permalink
follow command with no arguments reports leader (when already followi…
Browse files Browse the repository at this point in the history
…ng) (#7)
  • Loading branch information
gbrunett authored and wyld-sw committed Oct 21, 2017
1 parent 75d8b58 commit dec0c5a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/act.movement.c
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,12 @@ ACMD(do_follow)
return;
}
} else {
send_to_char(ch, "Whom do you wish to follow?\r\n");
if (ch->master != (char_data*) NULL) {
send_to_char(ch, "You are following %s.\r\n",
GET_NAME(ch->master));
} else {
send_to_char(ch, "Whom do you wish to follow?\r\n");
}
return;
}

Expand Down

0 comments on commit dec0c5a

Please sign in to comment.