]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - keys.c
aaahh! let me use the menu, div0!
[xonotic/darkplaces.git] / keys.c
diff --git a/keys.c b/keys.c
index eb57276cfb31ce49f0bde004d31d1ba12a929a25..6a7eaf20ac961951738a04816df47625943605a5 100644 (file)
--- a/keys.c
+++ b/keys.c
@@ -1492,7 +1492,7 @@ Key_Event (int key, int ascii, qboolean down)
                                        if(key_consoleactive & KEY_CONSOLEACTIVE_FORCED)
                                        {
                                                key_consoleactive &= ~KEY_CONSOLEACTIVE_USER;
-                                               MR_ToggleMenu(1);
+                                               MR_ToggleMenu(-1);
                                        }
                                        else
                                                Con_ToggleConsole_f();
@@ -1513,7 +1513,7 @@ Key_Event (int key, int ascii, qboolean down)
                                // csqc has priority over toggle menu if it wants to (e.g. handling escape for UI stuff in-game.. :sick:)
                                q = CL_VM_InputEvent(down, key, ascii);
                                if (!q && down)
-                                       MR_ToggleMenu(1);
+                                       MR_ToggleMenu(-1);
                                break;
 
                        default: