summaryrefslogtreecommitdiff
path: root/src/content/content.cpp
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-05-16 21:52:12 +0100
committerGitHub <noreply@github.com>2018-05-16 21:52:12 +0100
commit3eb363f813bfc4fbca250579848532ef296b3077 (patch)
tree0ab1ef6ad7a56e068e7519daf9795f402e3f27af /src/content/content.cpp
parent45e48295d203b653041404a75c6e2744b78ced45 (diff)
downloadminetest-3eb363f813bfc4fbca250579848532ef296b3077.tar.gz
minetest-3eb363f813bfc4fbca250579848532ef296b3077.tar.bz2
minetest-3eb363f813bfc4fbca250579848532ef296b3077.zip
Add updating to online content browser
Diffstat (limited to 'src/content/content.cpp')
-rw-r--r--src/content/content.cpp3
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()) {