Changed some code showed in LGTM and Coverage

This commit is contained in:
qarmin
2019-07-20 08:09:57 +02:00
parent f88bded1d2
commit 2738b0b1e2
4 changed files with 2 additions and 6 deletions

View File

@@ -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 {