Skip to content

Commit ff3cfb7

Browse files
kahrlZeno-
authored andcommittedDec 29, 2014
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
1 parent a79a116 commit ff3cfb7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎builtin/mainmenu/common.lua

+4-2
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,10 @@ function asyncOnlineFavourites()
186186
end,
187187
nil,
188188
function(result)
189-
menudata.favorites = result
190-
core.event_handler("Refresh")
189+
if core.setting_getbool("public_serverlist") then
190+
menudata.favorites = result
191+
core.event_handler("Refresh")
192+
end
191193
end
192194
)
193195
end

0 commit comments

Comments
 (0)
Please sign in to comment.