diff options
author | nathanwfranke <nathanwfranke@gmail.com> | 2020-02-24 21:28:14 -0600 |
---|---|---|
committer | nathanwfranke <nathanwfranke@gmail.com> | 2020-02-24 21:28:14 -0600 |
commit | 1569c47c1ac9b083e0920350b9db1ab95dfe193b (patch) | |
tree | 2a79dbfd9945b02fc7e251f6c41e8b6ca9388a68 /core | |
parent | 5e181ac9f1fb83df6a933865753e54b534ac1048 (diff) |
Fix project.godot for projects with class_name
Fixes #36438
Diffstat (limited to 'core')
-rw-r--r-- | core/variant_parser.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ -1110,6 +1110,10 @@ Error VariantParser::parse_value(Token &token, Variant &value, Stream *p_stream, value = token.value; return OK; + } else if (token.type == TK_STRING_NAME) { + + value = token.value; + return OK; } else if (token.type == TK_COLOR) { value = token.value; |