]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - builtin/mainmenu/dlg_contentstore.lua
Merge branch 'master' of https://github.com/minetest/minetest
[dragonfireclient.git] / builtin / mainmenu / dlg_contentstore.lua
index 16ab1c3a7720c0299feae9045aa6c6af3de3b1f8..924c66400829469b3bbe71d9b234775e4e70ce34 100644 (file)
@@ -42,8 +42,8 @@ local num_per_page = 5
 local filter_type = 1
 local filter_types_titles = {
        fgettext("All packages"),
-       fgettext("Games"),
-       fgettext("Mods"),
+--     fgettext("Games"),
+       fgettext("Clientmods"),
        fgettext("Texture packs"),
 }
 
@@ -52,7 +52,7 @@ local download_queue = {}
 
 local filter_types_type = {
        nil,
-       "game",
+--     "game",
        "mod",
        "txp",
 }
@@ -630,7 +630,7 @@ end
 function store.update_paths()
        local mod_hash = {}
        pkgmgr.refresh_globals()
-       for _, mod in pairs(pkgmgr.global_mods:get_list()) do
+       for _, mod in pairs(pkgmgr.clientmods:get_list()) do
                if mod.author and mod.release > 0 then
                        local id = mod.author:lower() .. "/" .. mod.name
                        mod_hash[store.aliases[id] or id] = mod