diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-11-08 22:27:27 -0500 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-11-08 22:27:27 -0500 |
commit | 2fea22fd5f8b311b43fc627304c2f89093a48ec6 (patch) | |
tree | d3e6829ea9270753a822d0278e6f371eaede0845 | |
parent | 28a7d1cc43f028e7277d6d416f68322221c8aef7 (diff) | |
download | roads-2fea22fd5f8b311b43fc627304c2f89093a48ec6.tar roads-2fea22fd5f8b311b43fc627304c2f89093a48ec6.tar.gz roads-2fea22fd5f8b311b43fc627304c2f89093a48ec6.tar.bz2 roads-2fea22fd5f8b311b43fc627304c2f89093a48ec6.tar.xz roads-2fea22fd5f8b311b43fc627304c2f89093a48ec6.zip |
fix wrong concrete stairs reg
-rw-r--r-- | concretestairs/init.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/concretestairs/init.lua b/concretestairs/init.lua index 73a7985..0a030be 100644 --- a/concretestairs/init.lua +++ b/concretestairs/init.lua @@ -2,9 +2,9 @@ StreetsMod: Concrete stairs (compatible to circular saw) ]] if rawget(_G, "register_stair_slab_panel_micro") -and type(register_stair_slab_panel_micro) == "function" and streets.extendedBy.prefab == false then - register_stair_slab_panel_micro("streets", "concrete", "streets:concrete", {cracky=2}, {"basic_materials_concrete_block.png"}, "Concrete", "concrete", nil) - table.insert(circular_saw.known_stairs,"streets:concrete") +and type(register_stair_slab_panel_micro) == "function" then + register_stair_slab_panel_micro("streets", "concrete", "basic_materials:concrete_block", {cracky=2}, {"basic_materials_concrete_block.png"}, "Concrete", "concrete", nil) + table.insert(circular_saw.known_stairs,"basic_materials:concrete_block") minetest.register_alias("stairs:stair_concrete","streets:stair_concrete") else minetest.register_alias("stairs:stair_concrete","prefab:concrete_stair") |