Browse Source

fix duplicate scifi_nodes declaration

pull/20/head
Thomas Rudin 9 months ago
parent
commit
f007240c21
3 changed files with 1 additions and 5 deletions
  1. +1
    -1
      common.lua
  2. +0
    -1
      doors.lua
  3. +0
    -3
      models.lua

+ 1
- 1
common.lua View File

@@ -1,6 +1,6 @@


function scifi_nodes.get_switch_rules(param2)
scifi_nodes.get_switch_rules = function(param2)

-- param2 = 2
local rules = {


+ 0
- 1
doors.lua View File

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


+ 0
- 3
models.lua View File

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


Loading…
Cancel
Save