mirror of
https://github.com/godotengine/godot.git
synced 2024-11-25 21:52:51 +00:00
Fix preload type regression
This commit is contained in:
parent
47ef0549ee
commit
17e03c29d6
@ -4026,7 +4026,8 @@ GDScriptParser::DataType GDScriptAnalyzer::type_from_variant(const Variant &p_va
|
||||
found = found->get_member(E).m_class;
|
||||
}
|
||||
|
||||
result = found->get_datatype();
|
||||
result.class_type = found;
|
||||
result.script_path = ref->get_parser()->script_path;
|
||||
} else {
|
||||
result.kind = GDScriptParser::DataType::SCRIPT;
|
||||
result.native_type = scr->get_instance_base_type();
|
||||
|
Loading…
Reference in New Issue
Block a user