diff options
author | Beha <shacknetisp@mail.com> | 2017-03-22 09:20:54 -0400 |
---|---|---|
committer | Beha <shacknetisp@mail.com> | 2017-03-22 09:20:54 -0400 |
commit | 8bbec598b784eef849c0cc3576e7c07642d4f208 (patch) | |
tree | 77c9663af78e0596f81d3eb7faf8e8dbf5ae214a | |
parent | df542c5a167906dfcfc5a23d4b9b5318d1481f5d (diff) |
Rename homedecor variable.
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,7 +10,7 @@ local PTIMEOUT = 120 -- Detect optional mods. local technic_path = minetest.get_modpath("technic") local chains_path = minetest.get_modpath("chains") -local homedecor = minetest.get_modpath("homedecor") +local homedecor_path = minetest.get_modpath("homedecor") -- Central "network" table. local elevator = { @@ -56,7 +56,7 @@ local function get_node(pos) end -- Use homedecor's placeholder if possible. -local placeholder = homedecor and "homedecor:expansion_placeholder" or "elevator:placeholder" +local placeholder = homedecor_path and "homedecor:expansion_placeholder" or "elevator:placeholder" if homedecor then minetest.register_alias("elevator:placeholder", "homedecor:expansion_placeholder") else |