From cde9dc6c3cbe334480a2884480dd7123d5c9a685 Mon Sep 17 00:00:00 2001 From: Raul Santos Date: Wed, 30 Aug 2023 19:45:41 +0200 Subject: [PATCH] C#: Replace usage of deprecated `project_settings_changed` signal Replace usage of `EditorPlugin::project_settings_changed` signal with `ProjectSettings::settings_changed`. --- modules/mono/editor/GodotTools/GodotTools/GodotSharpEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mono/editor/GodotTools/GodotTools/GodotSharpEditor.cs b/modules/mono/editor/GodotTools/GodotTools/GodotSharpEditor.cs index ec28658557e..f01fbbd1b97 100644 --- a/modules/mono/editor/GodotTools/GodotTools/GodotSharpEditor.cs +++ b/modules/mono/editor/GodotTools/GodotTools/GodotSharpEditor.cs @@ -440,7 +440,7 @@ namespace GodotTools { base._EnablePlugin(); - ProjectSettingsChanged += GodotSharpDirs.DetermineProjectLocation; + ProjectSettings.SettingsChanged += GodotSharpDirs.DetermineProjectLocation; if (Instance != null) throw new InvalidOperationException();