aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
Diffstat (limited to 'builtin')
-rw-r--r--builtin/mainmenu/common.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/builtin/mainmenu/common.lua b/builtin/mainmenu/common.lua
index d2994e19b..384c083d6 100644
--- a/builtin/mainmenu/common.lua
+++ b/builtin/mainmenu/common.lua
@@ -186,8 +186,10 @@ function asyncOnlineFavourites()
end,
nil,
function(result)
- menudata.favorites = result
- core.event_handler("Refresh")
+ if core.setting_getbool("public_serverlist") then
+ menudata.favorites = result
+ core.event_handler("Refresh")
+ end
end
)
end