diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-06-11 12:45:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-11 12:45:54 +0200 |
commit | 80e5997154ba824f664661880e492030e9e43f71 (patch) | |
tree | 2c2dc4a8f4f7e8bb8ecba6b63d60df32993032ed /core | |
parent | 7e1a6befdaf6c6f8627bc6ef6621666b6024cf91 (diff) | |
parent | 6710ad1737589e280cba5766a26c04172dccd0f9 (diff) |
Merge pull request #49499 from cptchuckles/fix-var2str-sigil
Let var2str display StringName with correct sigil
Diffstat (limited to 'core')
-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; |