Localize a couple of accidental global variables

This commit is contained in:
Wuzzy 2017-08-02 01:34:12 +02:00
parent 54c08aa94a
commit 04593eca08
7 changed files with 7 additions and 8 deletions

View file

@ -63,8 +63,8 @@ function mcl_doors:register_door(name, def)
minetest.register_craftitem(name, {
description = def.description,
_doc_items_longdesc = def._doc_items_longdesc,
_doc_items_usagehelp = def._doc_items_usagehelp,
_doc_items_longdesc = longdesc,
_doc_items_usagehelp = usagehelp,
inventory_image = def.inventory_image,
stack_max = 64,
groups = { mesecon_conductor_craftable = 1 },