Merge pull request #36525 from nathanwfranke/fix-project-godot-class-name

Fix project.godot for projects with class_name
This commit is contained in:
Rémi Verschelde 2020-02-25 08:29:39 +01:00 committed by GitHub
commit 2ca5f22bce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1108,6 +1108,10 @@ Error VariantParser::parse_value(Token &token, Variant &value, Stream *p_stream,
return OK;
} else if (token.type == TK_STRING) {
value = token.value;
return OK;
} else if (token.type == TK_STRING_NAME) {
value = token.value;
return OK;
} else if (token.type == TK_COLOR) {