LSP: Fix repeated restart attempts

This commit is contained in:
HolonProduction 2025-10-05 16:09:21 +02:00
parent 6d33ad2917
commit 400c77f170
2 changed files with 4 additions and 1 deletions

View file

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