diff options
author | Auke Kok <sofar@foo-projects.org> | 2016-04-14 22:24:43 -0700 |
---|---|---|
committer | Auke Kok <sofar@foo-projects.org> | 2016-04-14 22:24:43 -0700 |
commit | 66cfc745e1fc7f0d0ca4e4a5cbbd3e9928c192bd (patch) | |
tree | a116be8af65657b12f5b50ab436c7fe19cfef377 | |
parent | 82c03466d74e651519139c297405b514984eeef4 (diff) | |
download | pipeworks-66cfc745e1fc7f0d0ca4e4a5cbbd3e9928c192bd.tar pipeworks-66cfc745e1fc7f0d0ca4e4a5cbbd3e9928c192bd.tar.gz pipeworks-66cfc745e1fc7f0d0ca4e4a5cbbd3e9928c192bd.tar.bz2 pipeworks-66cfc745e1fc7f0d0ca4e4a5cbbd3e9928c192bd.tar.xz pipeworks-66cfc745e1fc7f0d0ca4e4a5cbbd3e9928c192bd.zip |
Squelch a warning if no mesecons.
-rw-r--r-- | devices.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devices.lua b/devices.lua index 52f3002..e4c5f43 100644 --- a/devices.lua +++ b/devices.lua @@ -3,7 +3,7 @@ local pipereceptor_on = nil local pipereceptor_off = nil -if mesecon then +if minetest.get_modpath("mesecons") then pipereceptor_on = { receptor = { state = mesecon.state.on, |