disable monitor key if not debugging

This commit is contained in:
Chris Cromer 2022-09-22 16:47:51 -03:00
parent dad3e6581a
commit 73b41dcde3
Signed by: cromer
GPG Key ID: FA91071797BEEEC2

View File

@ -133,11 +133,11 @@ func _physics_process(_delta: float) -> void:
frames.append(frame)
if Input.is_action_just_pressed("Send"):
if debug and Input.is_action_just_pressed("Send"):
stop_monitor()
send_data()
else:
if Input.is_action_just_pressed("Send"):
if debug and Input.is_action_just_pressed("Send"):
start_monitor()
else:
get_tree().paused = false