diff options
author | Juan Linietsky <juan@godotengine.org> | 2019-02-21 17:27:07 -0300 |
---|---|---|
committer | Juan Linietsky <juan@godotengine.org> | 2019-02-21 17:27:07 -0300 |
commit | d13ac2a4137c043b282a8a1a15e4c400089e04f2 (patch) | |
tree | 07fa2a3084d26cb8ab86395dbbf5316f16bdb69b /modules/gdscript/gdscript_parser.cpp | |
parent | 87b303aa9593ca7c1aa0ec2b2846b4d1fc34d0cc (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.cpp | 2 |
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; } |