Squelch a warning if no mesecons.

This commit is contained in:
Auke Kok 2016-04-14 22:24:43 -07:00
parent 82c03466d7
commit 66cfc745e1
1 changed files with 1 additions and 1 deletions

View File

@ -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,