Allow for the previous defaulting system to continue working.

This commit is contained in:
toasterbabe 2017-07-26 13:50:49 +01:00
parent 3186d6a4e4
commit 2bdf432703

View file

@ -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)