forked from mtcontrib/scifi_nodes
		
	fix duplicate scifi_nodes declaration
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
function scifi_nodes.get_switch_rules(param2)
 | 
			
		||||
scifi_nodes.get_switch_rules = function(param2)
 | 
			
		||||
 | 
			
		||||
	-- param2 = 2
 | 
			
		||||
	local rules = {
 | 
			
		||||
 
 | 
			
		||||
@@ -15,7 +15,6 @@
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
-- 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)
 | 
			
		||||
 | 
			
		||||
-- Some aliases to deal with old namming policy --
 | 
			
		||||
 
 | 
			
		||||
@@ -2,8 +2,6 @@
 | 
			
		||||
--Copyright (c) 2011-2015 Calinou and contributors.
 | 
			
		||||
--Licensed under the zlib license.
 | 
			
		||||
 | 
			
		||||
scifi_nodes = {}
 | 
			
		||||
 | 
			
		||||
function scifi_nodes.register_slope(name, desc, texture, light)
 | 
			
		||||
minetest.register_node("scifi_nodes:slope_"..name, {
 | 
			
		||||
	description = desc.." Slope",
 | 
			
		||||
@@ -174,4 +172,3 @@ if minetest.global_exists("stairsplus") then
 | 
			
		||||
		})
 | 
			
		||||
	end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user