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/mods.cpp | |
parent | 45e48295d203b653041404a75c6e2744b78ced45 (diff) | |
download | minetest-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.cpp | 3 |
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; |