mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-12-01 14:43:42 +01:00
style
This commit is contained in:
parent
8626584dbd
commit
82bb95387e
12
init.lua
12
init.lua
@ -892,17 +892,7 @@ local function get_grid_fs(data, fs, rcp, spacing)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function get_panels(data, fs)
|
local function get_panels(data, fs)
|
||||||
local start_y
|
local start_y = data.fs_version >= 3 and (sfinv_only and 0.33 or 0) or 0.33
|
||||||
|
|
||||||
if data.fs_version >= 3 then
|
|
||||||
if sfinv_only then
|
|
||||||
start_y = 0.33
|
|
||||||
else
|
|
||||||
start_y = 0
|
|
||||||
end
|
|
||||||
else
|
|
||||||
start_y = 0.33
|
|
||||||
end
|
|
||||||
|
|
||||||
local panels = {
|
local panels = {
|
||||||
{dat = data.usages or {}, height = 3.5},
|
{dat = data.usages or {}, height = 3.5},
|
||||||
|
Loading…
Reference in New Issue
Block a user