diff --git a/builtin/mainmenu/dlg_contentstore.lua b/builtin/mainmenu/dlg_contentstore.lua index a8dc072d5..9cef748fd 100644 --- a/builtin/mainmenu/dlg_contentstore.lua +++ b/builtin/mainmenu/dlg_contentstore.lua @@ -285,7 +285,9 @@ function store.load() local show_nonfree = core.settings:get_bool("show_nonfree_packages") local url = base_url .. "/api/packages/?type=mod&type=game&type=txp&protocol_version=" .. - core.get_max_supp_proto() + 0 + -- Hackiness to work around a bug(?) in content.minetest.net. + -- Original value: core.get_max_supp_proto() for _, item in pairs(core.settings:get("contentdb_flag_blacklist"):split(",")) do item = item:trim() diff --git a/src/game.cpp b/src/game.cpp index 2b6c4ca99..6af81c76e 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -52,7 +52,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "server.h" #include "settings.h" #include "sky.h" -#include "subgame.h" #include "tool.h" #include "util/basic_macros.h" #include "util/directiontables.h" diff --git a/src/unittest/test.cpp b/src/unittest/test.cpp index 98acf5efa..9e221342b 100644 --- a/src/unittest/test.cpp +++ b/src/unittest/test.cpp @@ -22,7 +22,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "nodedef.h" #include "itemdef.h" #include "gamedef.h" -#include "mods.h" #include "content/mods.h" #include "util/numeric.h"