summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorFrancois Belair <razoric480@gmail.com>2021-12-07 12:37:11 -0500
committerFrancois Belair <razoric480@gmail.com>2021-12-07 12:37:11 -0500
commitad01201f34ab8ef9dddb203f1f40b1d14d50f0ca (patch)
treedf6403cd771f4fe02526e18aa55ed08b8e3eaaf7 /modules/gdscript
parent46d384060ef20672e23b3c1ffe947ff7898ecf75 (diff)
Remove extraneous return to LSP
Diffstat (limited to 'modules/gdscript')
-rw-r--r--modules/gdscript/language_server/gdscript_text_document.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/gdscript/language_server/gdscript_text_document.cpp b/modules/gdscript/language_server/gdscript_text_document.cpp
index 92ce71f395..d2e033d7de 100644
--- a/modules/gdscript/language_server/gdscript_text_document.cpp
+++ b/modules/gdscript/language_server/gdscript_text_document.cpp
@@ -428,9 +428,6 @@ GDScriptTextDocument::~GDScriptTextDocument() {
void GDScriptTextDocument::sync_script_content(const String &p_path, const String &p_content) {
String path = GDScriptLanguageProtocol::get_singleton()->get_workspace()->get_file_path(p_path);
- if (!path.begins_with("res://")) {
- return;
- }
GDScriptLanguageProtocol::get_singleton()->get_workspace()->parse_script(path, p_content);
EditorFileSystem::get_singleton()->update_file(path);