1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix project.godot for projects with class_name

Fixes #36438
This commit is contained in:
nathanwfranke
2020-02-24 21:28:14 -06:00
parent 5e181ac9f1
commit 1569c47c1a

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