1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

Add strict module

Also fix leaking globals found by it.
This commit is contained in:
ShadowNinja 2014-06-05 12:40:34 -04:00
parent 6afdb22ba7
commit a6ba042cf7
4 changed files with 51 additions and 3 deletions

View file

@ -56,7 +56,7 @@ core.register_entity(":__builtin:item", {
item_texture = core.registered_items[itemname].inventory_image
item_type = core.registered_items[itemname].type
end
prop = {
local prop = {
is_visible = true,
visual = "wielditem",
textures = {itemname},