From 2bdf432703fbb4b48c3dec04acb4d08b2fa9ba0e Mon Sep 17 00:00:00 2001 From: toasterbabe Date: Wed, 26 Jul 2017 13:50:49 +0100 Subject: [PATCH] Allow for the previous defaulting system to continue working. --- src/d_netcmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d_netcmd.c b/src/d_netcmd.c index 240438fec..50a25f475 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -654,7 +654,7 @@ void D_RegisterClientCommands(void) // register these so it is saved to config if ((username = I_GetUserName())) - cv_playername.defaultvalue = username; + cv_playername.defaultvalue = cv_defaultplayername.defaultvalue = username; CV_RegisterVar(&cv_playername); CV_RegisterVar(&cv_playercolor); CV_RegisterVar(&cv_skin); // r_things.c (skin NAME)