summaryrefslogtreecommitdiff
path: root/modules/gdscript/language_server/gdscript_language_protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdscript/language_server/gdscript_language_protocol.h')
-rw-r--r--modules/gdscript/language_server/gdscript_language_protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/language_server/gdscript_language_protocol.h b/modules/gdscript/language_server/gdscript_language_protocol.h
index 564878313d..cf5242e8c5 100644
--- a/modules/gdscript/language_server/gdscript_language_protocol.h
+++ b/modules/gdscript/language_server/gdscript_language_protocol.h
@@ -70,7 +70,7 @@ private:
HashMap<int, Ref<LSPeer>> clients;
Ref<TCP_Server> server;
- int latest_client_id = -1;
+ int latest_client_id = 0;
int next_client_id = 0;
Ref<GDScriptTextDocument> text_document;