fixed reparenting error
This commit is contained in:
@@ -43,7 +43,9 @@ void DiscordConnected::_enter_tree()
|
||||
}
|
||||
else
|
||||
{
|
||||
connector = get_node<DiscordConnector>(root_connector);
|
||||
if (get_node_or_null(root_connector)){
|
||||
connector = get_node<DiscordConnector>(root_connector);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user