mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Remove extraneous return to LSP
This commit is contained in:
parent
46d384060e
commit
ad01201f34
1 changed files with 0 additions and 3 deletions
|
|
@ -428,9 +428,6 @@ GDScriptTextDocument::~GDScriptTextDocument() {
|
||||||
|
|
||||||
void GDScriptTextDocument::sync_script_content(const String &p_path, const String &p_content) {
|
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);
|
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);
|
GDScriptLanguageProtocol::get_singleton()->get_workspace()->parse_script(path, p_content);
|
||||||
|
|
||||||
EditorFileSystem::get_singleton()->update_file(path);
|
EditorFileSystem::get_singleton()->update_file(path);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue