mirror of
https://github.com/godotengine/godot.git
synced 2025-01-23 02:52:28 -05:00
GDScript: Properly set class inheritance for global classes
This commit is contained in:
parent
164cc8705b
commit
c8e10aa20b
1 changed files with 1 additions and 0 deletions
|
@ -213,6 +213,7 @@ Error GDScriptAnalyzer::resolve_inheritance(GDScriptParser::ClassNode *p_class,
|
|||
push_error(vformat(R"(Could not resolve super class inheritance from "%s".)", name), p_class);
|
||||
return err;
|
||||
}
|
||||
base = parser->get_parser()->head->get_datatype();
|
||||
}
|
||||
} else if (ProjectSettings::get_singleton()->has_autoload(name) && ProjectSettings::get_singleton()->get_autoload(name).is_singleton) {
|
||||
const ProjectSettings::AutoloadInfo &info = ProjectSettings::get_singleton()->get_autoload(name);
|
||||
|
|
Loading…
Reference in a new issue