projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d0875f
)
Content store: Fix assertion failed on unsuccessful package list fetch
author
rubenwardy
<rw@rubenwardy.com>
Sun, 3 Feb 2019 19:54:43 +0000
(19:54 +0000)
committer
rubenwardy
<rw@rubenwardy.com>
Sun, 3 Feb 2019 19:54:50 +0000
(19:54 +0000)
Fixes #8168
builtin/mainmenu/dlg_contentstore.lua
patch
|
blob
|
history
diff --git
a/builtin/mainmenu/dlg_contentstore.lua
b/builtin/mainmenu/dlg_contentstore.lua
index 655e596d477bb4f17d3769a0978083ea98f83b81..a8dc072d5d51626861ec7bdef40de6d45deda0fc 100644
(file)
--- a/
builtin/mainmenu/dlg_contentstore.lua
+++ b/
builtin/mainmenu/dlg_contentstore.lua
@@
-15,7
+15,7
@@
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-local store = {}
+local store = {
packages = {}, packages_full = {}
}
local package_dialog = {}
-- Screenshot
@@
-396,8
+396,6
@@
function store.filter_packages(query)
end
function store.get_formspec()
- assert(store.loaded)
-
store.update_paths()
local pages = math.ceil(#store.packages / num_per_page)