]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Allow to pause the game in the hud editor with the pause key
authorterencehill <piuntn@gmail.com>
Sat, 28 Feb 2015 17:18:02 +0000 (18:18 +0100)
committerterencehill <piuntn@gmail.com>
Sat, 28 Feb 2015 17:18:02 +0000 (18:18 +0100)
qcsrc/client/hud_config.qc

index 764b42a9a3efc77619ad489b238149f61c420f53..ad4ef2bf25cd557bdb03b414bf7b694fd64551f2 100644 (file)
@@ -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;