Localize various unneeded global variables

This commit is contained in:
Wuzzy 2018-01-26 22:20:15 +01:00
parent a40dec6da9
commit 16bb9b8901
10 changed files with 30 additions and 28 deletions

View file

@ -16,7 +16,7 @@
-- TODO: Add legacy support for Minetest Game groups like crumbly, snappy, cracky, etc. for all tools
-- The hand
local groupcaps, range
local groupcaps, hand_range
if minetest.settings:get_bool("creative_mode") then
-- Instant breaking in creative mode
groupcaps = {