Skip to content
Snippets Groups Projects
Commit b17e3d28 authored by Florent Berthaut's avatar Florent Berthaut
Browse files

Fix sending while in editor

parent 9dbbb96a
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,7 @@ func _process(delta):
_properties["distance_to_camera"].set_values([(cam_pos-obj_pos).length()])
#output all values listened to which have changed
if _send_data:
if _send_data and not Engine.is_editor_hint():
for k in _properties.keys():
if _properties[k]._changed :
if _properties[k]._listen :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment