Browse Source

Fix parsing Resource type as value type of a Dictionary

Synzorasize 8 months ago
parent
commit
b0845da37d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/variant/variant_parser.cpp

+ 1 - 1
core/variant/variant_parser.cpp

@@ -1223,7 +1223,7 @@ Error VariantParser::parse_value(Token &token, Variant &value, Stream *p_stream,
 						r_err_str = String();
 						value_type = Variant::OBJECT;
 						value_class_name = token.value;
-						got_comma_token = true;
+						got_bracket_token = true;
 					} else {
 						return err;
 					}