From 7c13dc8c34be656e7d12daf13c9ecf4472bfccd9 Mon Sep 17 00:00:00 2001 From: Lubos Date: Tue, 22 Mar 2022 21:49:57 +0100 Subject: [PATCH] Disable opening console (didn't work so well in multiplayer)) --- android/app/src/main/cpp/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/app/src/main/cpp/main.cpp b/android/app/src/main/cpp/main.cpp index 205f87ba..791522fc 100644 --- a/android/app/src/main/cpp/main.cpp +++ b/android/app/src/main/cpp/main.cpp @@ -97,10 +97,10 @@ int main(int argc, char* argv[]) { hasFocus = g_HasFocus; if (!hasFocus && !Cvar_VariableValue ("cl_paused")) { Com_QueueEvent( Sys_Milliseconds(), SE_KEY, K_ESCAPE, qtrue, 0, NULL ); - Com_QueueEvent( Sys_Milliseconds(), SE_KEY, K_CONSOLE, qtrue, 0, NULL ); + //Com_QueueEvent( Sys_Milliseconds(), SE_KEY, K_CONSOLE, qtrue, 0, NULL ); paused = true; } else if (hasFocus && paused) { - Com_QueueEvent( Sys_Milliseconds(), SE_KEY, K_CONSOLE, qtrue, 0, NULL ); + //Com_QueueEvent( Sys_Milliseconds(), SE_KEY, K_CONSOLE, qtrue, 0, NULL ); Com_QueueEvent( Sys_Milliseconds(), SE_KEY, K_ESCAPE, qtrue, 0, NULL ); paused = false; }