mirror of
https://github.com/minetest-mods/technic.git
synced 2024-09-27 15:00:18 +02:00
Add local keyword to check function's local variable in compressor recipes
This commit is contained in:
parent
ec646b2059
commit
c92e8f796a
|
@ -11,7 +11,7 @@ end
|
|||
-- Function for cases where multiple mods exist with the same name,
|
||||
-- to check if we have the right one.
|
||||
local function is_right_mod(dependency)
|
||||
is_right = true
|
||||
local is_right = true
|
||||
|
||||
if dependency == "nether" then
|
||||
is_right = minetest.registered_nodes["nether:brick_compressed"] ~= nil
|
||||
|
|
Loading…
Reference in New Issue
Block a user