diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-04-04 23:56:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-04 23:56:20 +0200 |
commit | db8e6bd83fa09518cc4b6b2feb4dad0aa7657eea (patch) | |
tree | b4de48b8c9cbffd3b57370d5547e0cbfae3d4456 /modules/gdscript/tests | |
parent | a28314b036146c645ce4d6cc64b41b2ff3a74028 (diff) | |
parent | 1cc7e7ec33a652647d63cb32fa164eceef87c653 (diff) |
Merge pull request #59885 from Jayman2000/autoload-inheritance-message
Diffstat (limited to 'modules/gdscript/tests')
-rw-r--r-- | modules/gdscript/tests/gdscript_test_runner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/tests/gdscript_test_runner.cpp b/modules/gdscript/tests/gdscript_test_runner.cpp index e8ddf90836..16c143f7d9 100644 --- a/modules/gdscript/tests/gdscript_test_runner.cpp +++ b/modules/gdscript/tests/gdscript_test_runner.cpp @@ -80,7 +80,7 @@ void init_autoloads() { } else if (script.is_valid()) { StringName ibt = script->get_instance_base_type(); bool valid_type = ClassDB::is_parent_class(ibt, "Node"); - ERR_CONTINUE_MSG(!valid_type, "Script does not inherit a Node: " + info.path); + ERR_CONTINUE_MSG(!valid_type, "Script does not inherit from Node: " + info.path); Object *obj = ClassDB::instantiate(ibt); |