diff --git a/core/variant_parser.cpp b/core/variant_parser.cpp index 44bf90674b5..56d33c10f4e 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) {