From: terencehill Date: Sat, 28 Feb 2015 17:18:02 +0000 (+0100) Subject: Allow to pause the game in the hud editor with the pause key X-Git-Tag: xonotic-v0.8.1~58^2~6 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c20a1b4a85dac198377dab04ec3f93f2f067cf1d;p=xonotic%2Fxonotic-data.pk3dir.git Allow to pause the game in the hud editor with the pause key --- diff --git a/qcsrc/client/hud_config.qc b/qcsrc/client/hud_config.qc index 764b42a9a..ad4ef2bf2 100644 --- a/qcsrc/client/hud_config.qc +++ b/qcsrc/client/hud_config.qc @@ -916,7 +916,7 @@ float HUD_Panel_InputEvent(float bInputType, float nPrimary, float nSecondary) if (highlightedPanel) HUD_Panel_EnableMenu(); } - else if(hit_con_bind) + else if(hit_con_bind || nPrimary == K_PAUSE) return false; return true;