]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/dialog_firstrun.c
make sure prvm_language is always set (turn empty string into "en")
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / dialog_firstrun.c
index 67b886ec933c754897a03a3ba845abf1ce279458..d52c4c7b4cdf7db83af1cd7fff0661922864b362 100644 (file)
@@ -20,7 +20,7 @@ float CheckFirstRunButton(entity me)
        if(cvar_string("_cl_name") != "Player")
                return 1;
                
-       if(cvar_string("prvm_language") != prvm_language)
+       if(cvar_string("_menu_prvm_language") != prvm_language)
                return 1; // OK will then reopen the dialog in another language
                
        if(cvar_string("cl_allow_uid2name") != "-1")