1
0
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:
Thomas Rudin 2019-09-09 18:46:26 +02:00
parent d803f17ba5
commit f007240c21
3 changed files with 1 additions and 5 deletions

View File

@ -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 = {

View File

@ -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 --

View File

@ -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