mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 16:33:30 +00:00
LSP: Fix repeated restart attempts
(cherry picked from commit 400c77f170
)
This commit is contained in:
parent
2cb6d30dd1
commit
1aed7cefdd
2 changed files with 4 additions and 1 deletions
|
@ -56,7 +56,8 @@ void GDScriptLanguageServer::_notification(int p_what) {
|
|||
} break;
|
||||
|
||||
case NOTIFICATION_INTERNAL_PROCESS: {
|
||||
if (!started && EditorNode::get_singleton()->is_editor_ready()) {
|
||||
if (!start_attempted && EditorNode::get_singleton()->is_editor_ready()) {
|
||||
start_attempted = true;
|
||||
start();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue