Browse Source

Remove extraneous return to LSP

(cherry picked from commit ad01201f34ab8ef9dddb203f1f40b1d14d50f0ca)
Francois Belair 3 years ago
parent
commit
b8f2f48d86
1 changed files with 0 additions and 3 deletions
  1. 0 3
      modules/gdscript/language_server/gdscript_text_document.cpp

+ 0 - 3
modules/gdscript/language_server/gdscript_text_document.cpp

@@ -422,9 +422,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);