# HG changeset patch # User truelight # Date 2004-12-13 19:54:44 # Node ID 4079bf84c355795db19e676efa2da0654fc93a0d # Parent 6901c991aa98edb481afb8a07cb36ba8b2116f0b (svn r1068) -Fix: [Console] Let the client remember his own name-change diff --git a/console_cmds.c b/console_cmds.c --- a/console_cmds.c +++ b/console_cmds.c @@ -655,6 +655,8 @@ DEF_CONSOLE_CMD(ConSet) { NetworkUpdateClientInfo(NETWORK_SERVER_INDEX); } } + /* Also keep track of the new name on the client itself */ + ttd_strlcpy(_network_player_name, argv[2], 40); } else { IConsolePrint(_iconsole_color_default, "With 'set name' you can change your network-player name."); IConsolePrint(_iconsole_color_warning, "Usage: set name \"\".");