Add 0.4.X compatibility comment.
formspeclib optionally needs MTG on 0.4.X, but on 0.5 it doesn't need to be in depends.txt.
This commit is contained in:
parent
aa08f240d3
commit
26b9036f75
3
core.lua
3
core.lua
|
@ -88,6 +88,9 @@ formspeclib.render = function(formspec, safe_mode, no_iterations)
|
|||
end
|
||||
end
|
||||
if width > 0 and height > 0 then
|
||||
-- The below three lines are here to ensure compatibility with Minetest
|
||||
-- 0.4.X. When the variables are removed from minetest_game they will
|
||||
-- simply be ignored by the mod.
|
||||
if default and default.gui_bg and default.gui_bg_img and default.gui_slots then
|
||||
compiled = default.gui_bg .. default.gui_bg_img .. default.gui_slots .. compiled
|
||||
end
|
||||
|
|
Reference in New Issue