mirror of
https://github.com/tbamud/tbamud.git
synced 2025-09-21 21:40:49 +02:00
follow command with no arguments reports leader (when already following) (#7)
This commit is contained in:
parent
75d8b58029
commit
dec0c5af1f
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue