diff options
Diffstat (limited to 'concretestairs')
-rw-r--r-- | concretestairs/init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/concretestairs/init.lua b/concretestairs/init.lua index a0ad99d..f6400c5 100644 --- a/concretestairs/init.lua +++ b/concretestairs/init.lua @@ -1,7 +1,8 @@ --[[ StreetsMod: Concrete stairs (compatible to circular saw) ]] -if type(register_stair_slab_panel_micro) == "function" and streets.extendedBy.prefab == false then +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}, {"streets_concrete.png"}, "Concrete", "concrete", nil) table.insert(circular_saw.known_stairs,"streets:concrete") minetest.register_alias("stairs:stair_concrete","streets:stair_concrete") |