forked from Mirrorlandia_minetest/minetest
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
This commit is contained in:
parent
a79a116ac8
commit
ff3cfb746e
@ -186,8 +186,10 @@ function asyncOnlineFavourites()
|
|||||||
end,
|
end,
|
||||||
nil,
|
nil,
|
||||||
function(result)
|
function(result)
|
||||||
menudata.favorites = result
|
if core.setting_getbool("public_serverlist") then
|
||||||
core.event_handler("Refresh")
|
menudata.favorites = result
|
||||||
|
core.event_handler("Refresh")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user