forked from unfa/liblast
Fixed the chat eating T and Y key presses while in the menu
This commit is contained in:
parent
cca26a5e05
commit
0cef5fb5c0
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ func _ready():
|
|||
pass
|
||||
|
||||
func _input(_event) -> void:
|
||||
if state == ChatState.INACTIVE:
|
||||
if state == ChatState.INACTIVE and main.focus == main.GameFocus.GAME:
|
||||
if Input.is_action_just_pressed("say_all"):
|
||||
main.focus = main.GameFocus.CHAT
|
||||
state = ChatState.TYPING_ALL
|
||||
|
|
Loading…
Reference in a new issue