summaryrefslogtreecommitdiff
path: root/modules/gdscript/gdscript_parser.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2019-02-21 17:27:07 -0300
committerJuan Linietsky <juan@godotengine.org>2019-02-21 17:27:07 -0300
commitd13ac2a4137c043b282a8a1a15e4c400089e04f2 (patch)
tree07fa2a3084d26cb8ab86395dbbf5316f16bdb69b /modules/gdscript/gdscript_parser.cpp
parent87b303aa9593ca7c1aa0ec2b2846b4d1fc34d0cc (diff)
Request to use load when cyclic reference is found, closes #26119
Diffstat (limited to 'modules/gdscript/gdscript_parser.cpp')
-rw-r--r--modules/gdscript/gdscript_parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp
index a642abeb0a..705f39ae78 100644
--- a/modules/gdscript/gdscript_parser.cpp
+++ b/modules/gdscript/gdscript_parser.cpp
@@ -503,7 +503,7 @@ GDScriptParser::Node *GDScriptParser::_parse_expression(Node *p_parent, bool p_s
Ref<GDScript> gds = res;
if (gds.is_valid() && !gds->is_valid()) {
- _set_error("Could not fully preload the script, possible cyclic reference or compilation error.");
+ _set_error("Could not fully preload the script, possible cyclic reference or compilation error. Use 'load()' instead if a cyclic reference is intended.");
return NULL;
}