about summary refs log tree commit diff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/client/gc_menu.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/client/gc_menu.cpp b/src/game/client/gc_menu.cpp
index 8c525a7b..978904df 100644
--- a/src/game/client/gc_menu.cpp
+++ b/src/game/client/gc_menu.cpp
@@ -682,7 +682,9 @@ int ui2_do_key_reader(void *id, const RECT *rect, int key)
 		int k = inp_last_key();
 		if (k)
 		{
-			new_key = k;
+			if(k != KEY_ESC)
+				new_key = k;
+				
 			ui_set_active_item(0);
 			mouse_released = false;
 		}