mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
Fix undeclared global warning in mcl_craftguide
This commit is contained in:
parent
3dcd986863
commit
73e8ee8a68
1 changed files with 1 additions and 0 deletions
|
@ -413,6 +413,7 @@ local function get_tooltip(item, groups, cooktime, burntime)
|
||||||
local gcol = "#FFAAFF"
|
local gcol = "#FFAAFF"
|
||||||
if #groups == 1 then
|
if #groups == 1 then
|
||||||
local g = group_names[groups[1]]
|
local g = group_names[groups[1]]
|
||||||
|
local groupstr
|
||||||
-- Treat the groups “compass” and “clock” as fake groups
|
-- Treat the groups “compass” and “clock” as fake groups
|
||||||
-- and just print the normal item name without special formatting
|
-- and just print the normal item name without special formatting
|
||||||
if groups[1] == "compass" or groups[1] == "clock" then
|
if groups[1] == "compass" or groups[1] == "clock" then
|
||||||
|
|
Loading…
Reference in a new issue