diff options
Diffstat (limited to 'crawl-ref/source/tags.cc')
-rw-r--r-- | crawl-ref/source/tags.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc index 91fe0c0643..ab02149019 100644 --- a/crawl-ref/source/tags.cc +++ b/crawl-ref/source/tags.cc @@ -1020,6 +1020,8 @@ static void tag_construct_you(writer &th) std::string revision = "Git:"; revision += Version::Long(); marshallString(th, revision); + + you.props.write(th); } static void tag_construct_you_items(writer &th) @@ -1468,6 +1470,12 @@ static void tag_read_you(reader &th, char minorVersion) std::string rev_str = unmarshallString(th); UNUSED(rev_str); } + + if (minorVersion >= TAG_MINOR_YOU_PROP) + { + you.props.clear(); + you.props.read(th); + } } static void tag_read_you_items(reader &th, char minorVersion) |