Localize various unneeded global variables
This commit is contained in:
parent
a40dec6da9
commit
16bb9b8901
10 changed files with 30 additions and 28 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue