Merge pull request 'disable monitor key if not debugging' (#53) from feature/disable_monitor_key into develop
Reviewed-on: #53
This commit is contained in:
commit
4298dfb4c0
@ -133,11 +133,11 @@ func _physics_process(_delta: float) -> void:
|
|||||||
|
|
||||||
frames.append(frame)
|
frames.append(frame)
|
||||||
|
|
||||||
if Input.is_action_just_pressed("Send"):
|
if debug and Input.is_action_just_pressed("Send"):
|
||||||
stop_monitor()
|
stop_monitor()
|
||||||
send_data()
|
send_data()
|
||||||
else:
|
else:
|
||||||
if Input.is_action_just_pressed("Send"):
|
if debug and Input.is_action_just_pressed("Send"):
|
||||||
start_monitor()
|
start_monitor()
|
||||||
else:
|
else:
|
||||||
get_tree().paused = false
|
get_tree().paused = false
|
||||||
|
Loading…
Reference in New Issue
Block a user