summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-09-02 06:36:45 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-09-12 15:56:20 +0200
commit30327872e0d7989220a28a91a39d847dacca406d (patch)
treee922ff8448dd000d7670ad45dee1a68362d26555 /editor
parent1b99806b478b823ff04ad0e2538e211e55c037cb (diff)
Unify StreamPeerTCP/TCP_Server with NetSocket API
Diffstat (limited to 'editor')
-rw-r--r--editor/fileserver/editor_file_server.cpp2
-rw-r--r--editor/script_editor_debugger.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/editor/fileserver/editor_file_server.cpp b/editor/fileserver/editor_file_server.cpp
index d6e89d0573..27fe716855 100644
--- a/editor/fileserver/editor_file_server.cpp
+++ b/editor/fileserver/editor_file_server.cpp
@@ -330,7 +330,7 @@ void EditorFileServer::stop() {
EditorFileServer::EditorFileServer() {
- server = TCP_Server::create_ref();
+ server.instance();
wait_mutex = Mutex::create();
quit = false;
active = false;
diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp
index 43892376b5..b43402e834 100644
--- a/editor/script_editor_debugger.cpp
+++ b/editor/script_editor_debugger.cpp
@@ -1952,7 +1952,7 @@ ScriptEditorDebugger::ScriptEditorDebugger(EditorNode *p_editor) {
inspector->connect("object_id_selected", this, "_scene_tree_property_select_object");
sc->add_child(inspector);
- server = TCP_Server::create_ref();
+ server.instance();
pending_in_queue = 0;