From 576cd1a3d84065a92e0a5ce012f3ec6cde3b4ec6 Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 26 Nov 2015 13:05:48 +0100 Subject: [PATCH] Quote hud skin filename --- qcsrc/menu/xonotic/hudskinlist.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/menu/xonotic/hudskinlist.qc b/qcsrc/menu/xonotic/hudskinlist.qc index bfe003ef5a..aa339fea9d 100644 --- a/qcsrc/menu/xonotic/hudskinlist.qc +++ b/qcsrc/menu/xonotic/hudskinlist.qc @@ -195,7 +195,7 @@ void XonoticHUDSkinList_draw(entity me) void XonoticHUDSkinList_setHUDSkin(entity me) { string cfg = strcat(me.hudskinPath(me, me.selectedItem), "hud_", me.hudskinName(me, me.selectedItem), ".cfg"); - localcmd("exec ", cfg, "\n"); + localcmd("exec \"", cfg, "\"\n"); } void SetHUDSkin_Click(entity btn, entity me) -- 2.39.2