]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/dialog_firstrun.c
Get rid of hardcoded "Player" string for checking whether the name needs changing...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / dialog_firstrun.c
index 1b975da2b188c8fd27098897d5553fc1d80b3245..90988703e0e5f9fa491ef0759e2a95a358b7fec3 100644 (file)
@@ -17,7 +17,7 @@ ENDCLASS(XonoticFirstRunDialog)
 #ifdef IMPLEMENTATION
 float CheckFirstRunButton(entity me)
 {
-       if(cvar_string("_cl_name") != "Player")
+       if(cvar_string("_cl_name") != cvar_defstring("_cl_name"))
                return 1;
 
        if(cvar_string("_menu_prvm_language") != prvm_language)