Browse Source

Merge pull request #100933 from Synzorasize/fix_100889

Fix parsing Resource type as value type of a Dictionary
Thaddeus Crews 6 months ago
parent
commit
a0f10a28a6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/variant/variant_parser.cpp

+ 1 - 1
core/variant/variant_parser.cpp

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