]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/hud_config.qc
fix an issue in input event processing
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud_config.qc
index 9ff1e0e90a5c1b5ae651c65a25d0d295323d3281..109a9cf54a239b17e7280f2aa15823c06c3614f6 100644 (file)
@@ -572,6 +572,10 @@ float HUD_Panel_InputEvent(float bInputType, float nPrimary, float nSecondary)
 {
        string s;
 
+       // we only care for keyboard events
+       if(bInputType != 0 && bInputType != 1)
+               return false;
+
        if(!autocvar__hud_configure)
                return false;