aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2022-04-25 20:43:09 +0100
committerrubenwardy <rw@rubenwardy.com>2022-05-03 20:00:29 +0100
commite9e671078c8ddfcaac30e8f04976a8c69031a9b9 (patch)
tree31bf6754030782e219a8f541237731ef4625e075
parent71a56c355223aa45a980c16329c88ba9ec8b3354 (diff)
downloadhax-minetest-server-e9e671078c8ddfcaac30e8f04976a8c69031a9b9.tar.gz
hax-minetest-server-e9e671078c8ddfcaac30e8f04976a8c69031a9b9.zip
ContentDB: Fix ungraceful crash on aliases when list download fails
Fixes #12267 and fixes #12154
Diffstat (limited to '')
-rw-r--r--builtin/mainmenu/dlg_contentstore.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/mainmenu/dlg_contentstore.lua b/builtin/mainmenu/dlg_contentstore.lua
index 0127d600c..276a7b096 100644
--- a/builtin/mainmenu/dlg_contentstore.lua
+++ b/builtin/mainmenu/dlg_contentstore.lua
@@ -25,7 +25,7 @@ end
-- Unordered preserves the original order of the ContentDB API,
-- before the package list is ordered based on installed state.
-local store = { packages = {}, packages_full = {}, packages_full_unordered = {} }
+local store = { packages = {}, packages_full = {}, packages_full_unordered = {}, aliases = {} }
local http = core.get_http_api()