mirror of
https://github.com/D00Med/scifi_nodes.git
synced 2024-12-23 00:20:17 +01:00
fix duplicate scifi_nodes declaration
This commit is contained in:
parent
d803f17ba5
commit
f007240c21
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
|
|
||||||
function scifi_nodes.get_switch_rules(param2)
|
scifi_nodes.get_switch_rules = function(param2)
|
||||||
|
|
||||||
-- param2 = 2
|
-- param2 = 2
|
||||||
local rules = {
|
local rules = {
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
|
|
||||||
-- Retrieving mod settings
|
-- Retrieving mod settings
|
||||||
local scifi_nodes = {}
|
|
||||||
scifi_nodes.doors_open_with_mesecon_only = minetest.settings:get_bool("scifi_nodes.doors_open_with_mesecon_only", false)
|
scifi_nodes.doors_open_with_mesecon_only = minetest.settings:get_bool("scifi_nodes.doors_open_with_mesecon_only", false)
|
||||||
|
|
||||||
-- Some aliases to deal with old namming policy --
|
-- Some aliases to deal with old namming policy --
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
--Copyright (c) 2011-2015 Calinou and contributors.
|
--Copyright (c) 2011-2015 Calinou and contributors.
|
||||||
--Licensed under the zlib license.
|
--Licensed under the zlib license.
|
||||||
|
|
||||||
scifi_nodes = {}
|
|
||||||
|
|
||||||
function scifi_nodes.register_slope(name, desc, texture, light)
|
function scifi_nodes.register_slope(name, desc, texture, light)
|
||||||
minetest.register_node("scifi_nodes:slope_"..name, {
|
minetest.register_node("scifi_nodes:slope_"..name, {
|
||||||
description = desc.." Slope",
|
description = desc.." Slope",
|
||||||
@ -174,4 +172,3 @@ if minetest.global_exists("stairsplus") then
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user