summaryrefslogtreecommitdiff
path: root/concretestairs
diff options
context:
space:
mode:
Diffstat (limited to 'concretestairs')
-rw-r--r--concretestairs/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/concretestairs/init.lua b/concretestairs/init.lua
index 4cd3efd..b3000fa 100644
--- a/concretestairs/init.lua
+++ b/concretestairs/init.lua
@@ -1,7 +1,7 @@
--[[
StreetsMod: Concrete stairs (compatible to circular saw)
]]
-if streets.extendedBy.moreblocks == true and streets.extendedBy.prefab == false then
+if type(register_stair_slab_panel_mirco) == "function" and streets.extendedBy.prefab == false then
register_stair_slab_panel_micro("streets", "concrete", "streets:concrete", {cracky=2}, {"streets_concrete.png"}, "Concrete", "concrete", nil)
table.insert(circular_saw.known_stairs,"streets:concrete")
minetest.register_alias("stairs:stair_concrete","streets:stair_concrete")