Main menu: show favorite removal button for offline servers (#15530)

This fixes a regression from 6c324cb871d.
This commit is contained in:
SmallJoker 2024-12-12 15:31:48 +01:00 committed by GitHub
parent 9f71e74158
commit d123bc0951
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -93,6 +93,11 @@ local function find_selected_server()
return server
end
end
for _, server in ipairs(serverlistmgr.get_favorites()) do
if server.address == address and server.port == port then
return server
end
end
end
local function get_formspec(tabview, name, tabdata)