diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-05-16 21:52:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-16 21:52:12 +0100 |
commit | 3eb363f813bfc4fbca250579848532ef296b3077 (patch) | |
tree | 0ab1ef6ad7a56e068e7519daf9795f402e3f27af /src/content/content.cpp | |
parent | 45e48295d203b653041404a75c6e2744b78ced45 (diff) | |
download | hax-minetest-server-3eb363f813bfc4fbca250579848532ef296b3077.tar.gz hax-minetest-server-3eb363f813bfc4fbca250579848532ef296b3077.zip |
Add updating to online content browser
Diffstat (limited to 'src/content/content.cpp')
-rw-r--r-- | src/content/content.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/content/content.cpp b/src/content/content.cpp index d45c5feab..d7a2c9652 100644 --- a/src/content/content.cpp +++ b/src/content/content.cpp @@ -98,6 +98,9 @@ void parseContentInfo(ContentSpec &spec) if (conf.exists("author")) spec.author = conf.get("author"); + + if (conf.exists("release")) + spec.release = conf.getS32("release"); } if (spec.desc.empty()) { |