From 45a1444dac9c1fc2611f93303dcf3f2731ab8af4 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 10 Apr 2022 23:15:11 +0200 Subject: [PATCH] Allow color codes in the Welcome message title (hostname) --- qcsrc/menu/xonotic/dialog_welcome.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcsrc/menu/xonotic/dialog_welcome.qc b/qcsrc/menu/xonotic/dialog_welcome.qc index a7646047e..ca80ef4dd 100644 --- a/qcsrc/menu/xonotic/dialog_welcome.qc +++ b/qcsrc/menu/xonotic/dialog_welcome.qc @@ -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); -- 2.39.2