summaryrefslogtreecommitdiff
path: root/src/content/mods.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/mods.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/mods.cpp')
-rw-r--r--src/content/mods.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/content/mods.cpp b/src/content/mods.cpp
index 694bbcca8..a3e706760 100644
--- a/src/content/mods.cpp
+++ b/src/content/mods.cpp
@@ -56,6 +56,9 @@ void parseModContents(ModSpec &spec)
if (info.exists("author"))
spec.author = info.get("author");
+ if (info.exists("release"))
+ spec.release = info.getS32("release");
+
spec.depends.clear();
spec.optdepends.clear();
spec.is_modpack = false;