follow command with no arguments reports leader (when already following) (#7)

This commit is contained in:
gbrunett 2017-10-20 21:43:37 -04:00 committed by wyld-sw
parent 75d8b58029
commit dec0c5af1f

View file

@ -940,8 +940,13 @@ ACMD(do_follow)
send_to_char(ch, "%s", CONFIG_NOPERSON);
return;
}
} else {
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;
}