]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
restart menu when having turned "" to "en" to make menu.dat.en.po apply
authorRudolf Polzer <divverent@xonotic.org>
Thu, 9 Feb 2012 14:30:49 +0000 (15:30 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 9 Feb 2012 14:30:49 +0000 (15:30 +0100)
qcsrc/menu/menu.qc

index 9f9d30fc4b3cb89de1076a1e3b938160afaaed91..c46069a3c436297cdaeb1ff8f23ba5d9a28df171 100644 (file)
@@ -34,6 +34,7 @@ void m_init()
        {
                prvm_language = "en";
                cvar_set("prvm_language", prvm_language);
+               localcmd("\nmenu_restart; togglemenu\n");
        }
        prvm_language = strzone(prvm_language);
        cvar_set("_menu_prvm_language", prvm_language);