mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 19:02:26 +01:00
Fix undeclared global warning in mcl_craftguide
This commit is contained in:
parent
3dcd986863
commit
73e8ee8a68
@ -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 New Issue
Block a user