From: terencehill Date: Sat, 3 Dec 2011 22:13:04 +0000 (+0100) Subject: localcmd should work better adding EOLS before and after the command X-Git-Tag: xonotic-v0.8.2~1987^2~55^2~28 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=edffc7c97be625d8a192594d7b30cfc8a05c4f36;p=xonotic%2Fxonotic-data.pk3dir.git localcmd should work better adding EOLS before and after the command --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index f3ea3d1b6..cbb5bd1ce 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -4992,7 +4992,7 @@ void HUD_QuickMenu_ActionForNumber(float num) if (QuickMenu_Command[num] != "") { - localcmd(QuickMenu_Command[num]); + localcmd(strcat("\n", QuickMenu_Command[num], "\n")); if (!(hudShiftState & S_CTRL)) HUD_QuickMenu_Close(); return;