From: terencehill Date: Thu, 26 Nov 2015 12:05:48 +0000 (+0100) Subject: Quote hud skin filename X-Git-Tag: xonotic-v0.8.2~1467^2~11 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=576cd1a3d84065a92e0a5ce012f3ec6cde3b4ec6;p=xonotic%2Fxonotic-data.pk3dir.git Quote hud skin filename --- diff --git a/qcsrc/menu/xonotic/hudskinlist.qc b/qcsrc/menu/xonotic/hudskinlist.qc index bfe003ef5..aa339fea9 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)