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

@ -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;
}