about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-09-21 07:47:50 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-09-21 07:47:50 -0400
commit439588d5e04eb296f5a3be609127579bf616c27a (patch)
tree5347b298c05a5ded0187ec8ae6cddda3d144ba50
parent1d639e2f9f3d696636356afd25612219cdc5b7ab (diff)
downloadlingo-archipelago-439588d5e04eb296f5a3be609127579bf616c27a.tar.gz
lingo-archipelago-439588d5e04eb296f5a3be609127579bf616c27a.tar.bz2
lingo-archipelago-439588d5e04eb296f5a3be609127579bf616c27a.zip
Prevent text client from opening if SHIFT is held
-rw-r--r--Archipelago/textclient.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/Archipelago/textclient.gd b/Archipelago/textclient.gd index f100776..003ef8d 100644 --- a/Archipelago/textclient.gd +++ b/Archipelago/textclient.gd
@@ -51,7 +51,7 @@ func _ready():
51 51
52func _input(event): 52func _input(event):
53 if event is InputEventKey and event.pressed: 53 if event is InputEventKey and event.pressed:
54 if event.scancode == KEY_TAB: 54 if event.scancode == KEY_TAB and !Input.is_key_pressed(KEY_SHIFT):
55 if !get_tree().paused: 55 if !get_tree().paused:
56 is_open = true 56 is_open = true
57 get_tree().paused = true 57 get_tree().paused = true