diff options
author | webdesigner97 <Christian_D_97@gmx.de> | 2013-10-16 10:10:19 +0200 |
---|---|---|
committer | webdesigner97 <Christian_D_97@gmx.de> | 2013-10-16 10:10:19 +0200 |
commit | 5508d85d407282c391336bdcb8937a26f21e8c6d (patch) | |
tree | 576e28479f4fd8f3647e970abaa2bccfecd42425 /concretestairs | |
parent | fe7607750f24d1ee8daa38d648fc39e056ef6779 (diff) | |
download | roads-5508d85d407282c391336bdcb8937a26f21e8c6d.tar roads-5508d85d407282c391336bdcb8937a26f21e8c6d.tar.gz roads-5508d85d407282c391336bdcb8937a26f21e8c6d.tar.bz2 roads-5508d85d407282c391336bdcb8937a26f21e8c6d.tar.xz roads-5508d85d407282c391336bdcb8937a26f21e8c6d.zip |
Lightened code
Diffstat (limited to 'concretestairs')
-rw-r--r-- | concretestairs/init.lua | 2 |
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") |