You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Prevent cyclic reference between script and its members
This commit is contained in:
@@ -644,7 +644,7 @@ static GDScriptCompletionIdentifier _type_from_gdtype(const GDScriptDataType &p_
|
||||
ci.type.has_type = true;
|
||||
ci.type.builtin_type = p_gdtype.builtin_type;
|
||||
ci.type.native_type = p_gdtype.native_type;
|
||||
ci.type.script_type = p_gdtype.script_type;
|
||||
ci.type.script_type = Ref<Script>(p_gdtype.script_type);
|
||||
|
||||
switch (p_gdtype.kind) {
|
||||
case GDScriptDataType::UNINITIALIZED: {
|
||||
|
||||
Reference in New Issue
Block a user