From 1569c47c1ac9b083e0920350b9db1ab95dfe193b Mon Sep 17 00:00:00 2001 From: nathanwfranke Date: Mon, 24 Feb 2020 21:28:14 -0600 Subject: Fix project.godot for projects with class_name Fixes #36438 --- core/variant_parser.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/variant_parser.cpp b/core/variant_parser.cpp index 44bf90674b..56d33c10f4 100644 --- a/core/variant_parser.cpp +++ b/core/variant_parser.cpp @@ -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) { -- cgit v1.2.3