You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
@@ -6021,7 +6021,11 @@ bool GDScriptParser::_is_type_compatible(const DataType &p_container, const Data
|
|||||||
}
|
}
|
||||||
|
|
||||||
GDScriptParser::DataType GDScriptParser::_reduce_node_type(Node *p_node) {
|
GDScriptParser::DataType GDScriptParser::_reduce_node_type(Node *p_node) {
|
||||||
|
#ifdef DEBUG_ENABLED
|
||||||
|
if (p_node->get_datatype().has_type && p_node->type != Node::TYPE_ARRAY && p_node->type != Node::TYPE_DICTIONARY) {
|
||||||
|
#else
|
||||||
if (p_node->get_datatype().has_type) {
|
if (p_node->get_datatype().has_type) {
|
||||||
|
#endif
|
||||||
return p_node->get_datatype();
|
return p_node->get_datatype();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user