diff options
author | Christian <Christian_D_97@gmx.de> | 2015-02-21 22:52:21 +0100 |
---|---|---|
committer | Christian <Christian_D_97@gmx.de> | 2015-02-21 22:52:21 +0100 |
commit | 5be7aec758b23dc1773520abd0ee450b361979b6 (patch) | |
tree | e29ecb40f0260110a1aefae3e7121a2455bfc4c7 /concretestairs | |
parent | 94f199a96610927713e76b2aa024b4a970c47917 (diff) | |
parent | 4a583b811ba32bfe4709e8ae0bcf8cef31986472 (diff) | |
download | roads-5be7aec758b23dc1773520abd0ee450b361979b6.tar roads-5be7aec758b23dc1773520abd0ee450b361979b6.tar.gz roads-5be7aec758b23dc1773520abd0ee450b361979b6.tar.bz2 roads-5be7aec758b23dc1773520abd0ee450b361979b6.tar.xz roads-5be7aec758b23dc1773520abd0ee450b361979b6.zip |
Merge pull request #41 from HybridDog/globalfixes
thank you. I don't have the time to work on this mod within the next months, so I'm glad that you create some PRs to fix bugs :)
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") |