about summary refs log tree commit diff
path: root/src/game/client/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client/components')
-rw-r--r--src/game/client/components/console.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/client/components/console.cpp b/src/game/client/components/console.cpp
index 9efebd92..41f28a19 100644
--- a/src/game/client/components/console.cpp
+++ b/src/game/client/components/console.cpp
@@ -178,8 +178,11 @@ void CONSOLE::on_render()
 		progress = 1.0f;
 	}
 	
-	if (console_state == CONSOLE_CLOSED)
+	if (console_state == CONSOLE_CLOSED || config.cl_editor)
 		return;
+		
+	if (console_state == CONSOLE_OPEN)
+		inp_mouse_mode_absolute();
 
 	float console_height_scale;