Skip to content

Commit

Permalink
Update sync.gd
Browse files Browse the repository at this point in the history
Disables `sort_keys` for `stringify`
  • Loading branch information
Ivan-267 authored Dec 1, 2023
1 parent 9f6d1a3 commit 1f2414a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/godot_rl_agents/sync.gd
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ func _get_dict_json_message():
return json_data

func _send_dict_as_json_message(dict):
stream.put_string(JSON.stringify(dict))
stream.put_string(JSON.stringify(dict, "", false))

func _send_env_info():
var json_dict = _get_dict_json_message()
Expand Down

0 comments on commit 1f2414a

Please sign in to comment.