]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Allow color codes in the Welcome message title (hostname)
authorterencehill <piuntn@gmail.com>
Sun, 10 Apr 2022 21:15:11 +0000 (23:15 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 10 Apr 2022 21:15:11 +0000 (23:15 +0200)
qcsrc/menu/xonotic/dialog_welcome.qc

index a7646047ec62b3b572a7aa6bf7c511baad9e6c22..ca80ef4dd780241e2c971810972628fd7a60a979 100644 (file)
@@ -85,6 +85,8 @@ void XonoticWelcomeDialog_fill(entity me)
        registercvar("_menu_welcome_dialog_available", "0", 0);
        cvar_set("_menu_welcome_dialog_available", "1");
 
+       me.frame.allowColors = true; // allow color codes in the title
+
        entity e;
 
        me.TR(me);