Skip to content

Commit

Permalink
Merge pull request armory3d#2909 from Onek8/patch-3
Browse files Browse the repository at this point in the history
Update NetworkHttpRequestNode.hx
  • Loading branch information
luboslenco authored Jul 17, 2023
2 parents 948c69e + 8468b5a commit 1b11485
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/armory/logicnode/NetworkHttpRequestNode.hx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ class NetworkHttpRequestNode extends LogicNode {
}

var request = new haxe.Http(url);

#if js
request.async = true;

#end
if(headers != null){
for (k in headers.keys()) {
request.addHeader( k, headers[k]);
Expand Down

0 comments on commit 1b11485

Please sign in to comment.