1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

GDScript LSP: Fix crash in notify_client

`latest_client_id` now defaults to `-1` (invalid ID) instead of `0`.

Also fix typo in notification `gdscrip_client/changeWorkspace`,
and fix argument names in method binds.

Fixes #39375.
This commit is contained in:
Rémi Verschelde
2020-06-08 11:00:07 +02:00
parent 87b2d3f9cf
commit e34f33711b
6 changed files with 23 additions and 14 deletions

View File

@@ -29,6 +29,7 @@
/*************************************************************************/
#include "gdscript_text_document.h"
#include "../gdscript.h"
#include "core/os/os.h"
#include "editor/editor_settings.h"