Skip to content

Commit

Permalink
Merge pull request #27 from edbeeching/fix-action-names-must-be-alpha…
Browse files Browse the repository at this point in the history
…betically-ordered-for-onnx-inference-to-work

Fix inference when action names are not alphabetic
  • Loading branch information
Ivan-267 authored Dec 4, 2023
2 parents 9f8af0a + 1f2414a commit b4c3f22
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 b4c3f22

Please sign in to comment.