diff options
Diffstat (limited to 'core/io/file_access_network.cpp')
-rw-r--r-- | core/io/file_access_network.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/file_access_network.cpp b/core/io/file_access_network.cpp index a5636b137d..26194040b0 100644 --- a/core/io/file_access_network.cpp +++ b/core/io/file_access_network.cpp @@ -243,7 +243,7 @@ FileAccessNetworkClient::FileAccessNetworkClient() { quit=false; singleton=this; last_id=0; - client = Ref<StreamPeerTCP>( StreamPeerTCP::create() ); + client = Ref<StreamPeerTCP>( StreamPeerTCP::create_ref() ); sem=Semaphore::create(); lockcount=0; } |