]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Quote hud skin filename
authorterencehill <piuntn@gmail.com>
Thu, 26 Nov 2015 12:05:48 +0000 (13:05 +0100)
committerterencehill <piuntn@gmail.com>
Thu, 26 Nov 2015 12:05:48 +0000 (13:05 +0100)
qcsrc/menu/xonotic/hudskinlist.qc

index bfe003ef5a981ad51e5d4c0dc2f827de61fba2d2..aa339fea9d646f6de220a1fbef7966a599e7674c 100644 (file)
@@ -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)