mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-26 19:06:10 +01:00
Changing a player name (using 'set') no longer allows two-word names (thanks Slicer)
This commit is contained in:
parent
cc5a63d732
commit
1de1a8c477
3 changed files with 7 additions and 1 deletions
|
|
@ -4528,7 +4528,7 @@ bool change_player_name(struct char_data *ch, struct char_data *vict, char *new_
|
|||
sprintf(buf, "mv %s %s", old_pfile, new_pfile);
|
||||
j = system(buf);
|
||||
|
||||
/* Save the changed player index - the pfile is saved by perform_set, even though it is theorhetically un-necessary in this case */
|
||||
/* Save the changed player index - the pfile is saved by perform_set */
|
||||
save_player_index();
|
||||
|
||||
mudlog(BRF, LVL_IMMORT, TRUE, "(GC) %s changed the name of %s to %s", GET_NAME(ch), old_name, new_name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue