diff options
author | Jonathan Gollnick <jonathan.gollnick@gmail.com> | 2021-06-05 14:24:24 -0500 |
---|---|---|
committer | Jonathan Gollnick <jonathan.gollnick@gmail.com> | 2021-06-10 16:30:28 -0500 |
commit | 6710ad1737589e280cba5766a26c04172dccd0f9 (patch) | |
tree | 3874b632278fba2d62e984329dbbf3c40e6adc85 /core/variant | |
parent | bc1fcb9c659c573a38347088ccda3640fe2ae4c8 (diff) |
Let var2str display StringName with correct sigil
Diffstat (limited to 'core/variant')
-rw-r--r-- | core/variant/variant_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant/variant_parser.cpp b/core/variant/variant_parser.cpp index b58f60c149..21c0d40fa5 100644 --- a/core/variant/variant_parser.cpp +++ b/core/variant/variant_parser.cpp @@ -1516,7 +1516,7 @@ Error VariantWriter::write(const Variant &p_variant, StoreStringFunc p_store_str case Variant::STRING_NAME: { String str = p_variant; - str = "@\"" + str.c_escape() + "\""; + str = "&\"" + str.c_escape() + "\""; p_store_string_func(p_store_string_ud, str); } break; |