diff options
-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; |