summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2022-07-28 19:36:26 -0500
committerAaron Franke <arnfranke@yahoo.com>2022-07-29 11:07:30 -0500
commitac870ab1c8a41f8867b76ca66c364d284fea5488 (patch)
tree5b1cd6ad8443d69e9cd82824c906f7f1bf22dcd4 /modules/gdscript
parent5352cf8e2fafb0c974e3ba68ff8e3c2ce80d449e (diff)
Move editor paths into the EditorPaths class
Diffstat (limited to 'modules/gdscript')
-rw-r--r--modules/gdscript/gdscript.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/gdscript.cpp b/modules/gdscript/gdscript.cpp
index 4a3dbce2b9..28722bd178 100644
--- a/modules/gdscript/gdscript.cpp
+++ b/modules/gdscript/gdscript.cpp
@@ -51,7 +51,7 @@
#endif
#ifdef TOOLS_ENABLED
-#include "editor/editor_settings.h"
+#include "editor/editor_paths.h"
#endif
///////////////////////////
@@ -848,7 +848,7 @@ Error GDScript::reload(bool p_keep_state) {
// Loading a template, don't parse.
#ifdef TOOLS_ENABLED
- if (EditorSettings::get_singleton() && basedir.begins_with(EditorSettings::get_singleton()->get_project_script_templates_dir())) {
+ if (EditorPaths::get_singleton() && basedir.begins_with(EditorPaths::get_singleton()->get_project_script_templates_dir())) {
return OK;
}
#endif