Navigation Menu

Skip to content

Commit

Permalink
Ignore downloaded public serverlist if public_serverlist is false
Browse files Browse the repository at this point in the history
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 ff3cfb7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions builtin/mainmenu/common.lua
Expand Up @@ -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
Expand Down

0 comments on commit ff3cfb7

Please sign in to comment.