Changed some code showed in LGTM and Coverage
This commit is contained in:
@ -405,7 +405,7 @@ void VisualScriptPropertySelector::_item_selected() {
|
||||
String name = item->get_metadata(0);
|
||||
|
||||
String class_type;
|
||||
if (type) {
|
||||
if (type != Variant::NIL) {
|
||||
class_type = Variant::get_type_name(type);
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user