mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-26 04:23:44 +01:00
Show fav icon only once
This commit is contained in:
parent
4dd40e06f5
commit
251a8b1bc9
2
init.lua
2
init.lua
@ -915,7 +915,7 @@ local function get_panels(data, fs)
|
|||||||
fs[#fs + 1] = fmt("background9[8.1,%f;6.6,%f;%s;false;%d]",
|
fs[#fs + 1] = fmt("background9[8.1,%f;6.6,%f;%s;false;%d]",
|
||||||
-0.2 + spacing, v.height, PNG.bg_full, 10)
|
-0.2 + spacing, v.height, PNG.bg_full, 10)
|
||||||
|
|
||||||
if data.fs_version >= 3 and k ~= "favs" then
|
if data.fs_version >= 3 and k == 2 then
|
||||||
local fav = is_fav(data)
|
local fav = is_fav(data)
|
||||||
local nfavs = #data.favs
|
local nfavs = #data.favs
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user