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

Remove extraneous return to LSP

(cherry picked from commit ad01201f34)
This commit is contained in:
Francois Belair
2021-12-07 12:37:11 -05:00
committed by Rémi Verschelde
parent 76ab82526a
commit b8f2f48d86

View File

@@ -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);