Skip to content
Permalink
Browse files

Ignore downloaded public serverlist if public_serverlist is false

Fixes #1807: When the server list finishes downloading, the local server
list resets in certain conditions
  • Loading branch information
kahrl authored and Zeno- committed Dec 29, 2014
1 parent a79a116 commit ff3cfb746e203ed02160de09b1912b543c5a25f0
Showing with 4 additions and 2 deletions.
  1. +4 −2 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

0 comments on commit ff3cfb7

Please sign in to comment.
You can’t perform that action at this time.